Skip to content
v2.275.0

LaunchTemplateSpec Struct ​

Launch template property specification.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks_v2 as eks_v2 } from 'aws-cdk-lib';
const launchTemplateSpec: eks_v2.LaunchTemplateSpec = {
  id: 'id',

  // the properties below are optional
  version: 'version',
};

Properties ​

idstringidstridStringIdstringId*stringrequired#
The Launch template ID.
versionoptionalstringversionoptionalstrversionoptionalStringVersionoptionalstringVersionoptional*string#
The launch template version to be used (optional).

Default: the default version of the launch template