@nolanrigo/cloudformation
Version:
TypeScript-based imperative way to define AWS CloudFormation templates
35 lines (34 loc) • 1.16 kB
TypeScript
import { ResourceBase } from "../../resource";
import { Value, List, MapOf } from "../../data-types";
export declare class ScalingConfig {
MinSize?: Value<number>;
DesiredSize?: Value<number>;
MaxSize?: Value<number>;
constructor(properties: ScalingConfig);
}
export declare class RemoteAccess {
SourceSecurityGroups?: List<Value<string>>;
Ec2SshKey: Value<string>;
constructor(properties: RemoteAccess);
}
export interface NodegroupProperties {
InstanceTypes?: List<Value<string>>;
ClusterName: Value<string>;
NodegroupName?: Value<string>;
ScalingConfig?: ScalingConfig;
RemoteAccess?: RemoteAccess;
ForceUpdateEnabled?: Value<boolean>;
ReleaseVersion?: Value<string>;
Subnets: List<Value<string>>;
AmiType?: Value<string>;
Version?: Value<string>;
NodeRole: Value<string>;
Tags?: MapOf<any>;
DiskSize?: Value<number>;
Labels?: MapOf<any>;
}
export default class Inner_Nodegroup extends ResourceBase<NodegroupProperties> {
static ScalingConfig: typeof ScalingConfig;
static RemoteAccess: typeof RemoteAccess;
constructor(properties: NodegroupProperties);
}