Configuration options for the custom AMI.

interface LaunchTemplateProps {
    blockDevices?: BlockDevice[];
    machineImage?: IMachineImage;
    requireImdsv2?: boolean;
    securityGroup?: ISecurityGroup;
    tags?: {
        [key: string]: string;
    };
    userData?: UserData;
}

Properties

blockDevices?: BlockDevice[]

Specifies how block devices are exposed to the instance

machineImage?: IMachineImage

The custom AMI for the node group.

requireImdsv2?: boolean

Whether IMDSv2 should be required on launched instances. (optional, default: false)

securityGroup?: ISecurityGroup

Security group to assign to instances created with the launch template.

tags?: {
    [key: string]: string;
}

Custom Tags for launch template which will propogate to worker nodes.

userData?: UserData

The userData for worker node when using custom AMI. Only applicable when customAmi is used.