@aws-cdk/aws-eks-v2-alpha
Version:
The CDK Construct Library for AWS::EKS
18 lines (17 loc) • 571 B
TypeScript
import { BootstrapOptions, ICluster } from './cluster';
import * as autoscaling from 'aws-cdk-lib/aws-autoscaling';
export declare function renderAmazonLinuxUserData(cluster: ICluster, autoScalingGroup: autoscaling.AutoScalingGroup, options?: BootstrapOptions): string[];
export declare function renderBottlerocketUserData(cluster: ICluster): string[];
/**
* The lifecycle label for node selector
*/
export declare enum LifecycleLabel {
/**
* on-demand instances
*/
ON_DEMAND = "OnDemand",
/**
* spot instances
*/
SPOT = "Ec2Spot"
}