# LaunchTemplateSpec

Launch template property specification.

- Source: [`aws-eks-v2/lib/managed-nodegroup.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-eks-v2/lib/managed-nodegroup.ts#L156)
- Type last changed: v2.240.0 · 23 Feb 2026

## 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

- `id`: string (required) — The Launch template ID.

- `version`: string — The launch template version to be used (optional).

  **Default:** the default version of the launch template
