# CfnLaunchConfigurationTemplateProps

Properties for defining a `CfnLaunchConfigurationTemplate`.

Extends: CfnLaunchConfigurationTemplateProps
Used as props by: CfnLaunchConfigurationTemplate

- Source: Generated code
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mgn as mgn } from 'aws-cdk-lib';
const cfnLaunchConfigurationTemplateProps: mgn.CfnLaunchConfigurationTemplateProps = {
  associatePublicIpAddress: false,
  bootMode: 'bootMode',
  copyPrivateIp: false,
  copyTags: false,
  enableMapAutoTagging: false,
  enableParametersEncryption: false,
  largeVolumeConf: {
    iops: 123,
    throughput: 123,
    volumeType: 'volumeType',
  },
  launchDisposition: 'launchDisposition',
  licensing: {
    osByol: false,
  },
  mapAutoTaggingMpeId: 'mapAutoTaggingMpeId',
  parametersEncryptionKey: 'parametersEncryptionKey',
  postLaunchActions: {
    cloudWatchLogGroupName: 'cloudWatchLogGroupName',
    deployment: 'deployment',
    s3LogBucket: 's3LogBucket',
    s3OutputKeyPrefix: 's3OutputKeyPrefix',
    ssmDocuments: [{
      actionName: 'actionName',
      ssmDocumentName: 'ssmDocumentName',

      // the properties below are optional
      externalParameters: {
        externalParametersKey: {
          dynamicPath: 'dynamicPath',
        },
      },
      mustSucceedForCutover: false,
      parameters: {
        parametersKey: [{
          parameterName: 'parameterName',
          parameterType: 'parameterType',
        }],
      },
      timeoutSeconds: 123,
    }],
  },
  smallVolumeConf: {
    iops: 123,
    throughput: 123,
    volumeType: 'volumeType',
  },
  smallVolumeMaxSize: 123,
  tags: [{
    key: 'key',
    value: 'value',
  }],
  targetInstanceTypeRightSizingMethod: 'targetInstanceTypeRightSizingMethod',
};
```

## Properties

- `associatePublicIpAddress`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether to associate a public IP address with the launched instance.

- `bootMode`: string — Launch configuration template boot mode.

- `copyPrivateIp`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether to copy the private IP of the source server.

- `copyTags`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether to copy the tags of the source server.

- `enableMapAutoTagging`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether to enable map auto tagging.

- `enableParametersEncryption`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Whether to enable encryption of the AWS Systems Manager parameters used by post launch actions.

- `largeVolumeConf`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_mgn.CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty.html) — Launch template disk configuration.

- `launchDisposition`: string — Launch disposition.

- `licensing`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnLaunchConfigurationTemplate.LicensingProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_mgn.CfnLaunchConfigurationTemplate.LicensingProperty.html) — Configuration of a machine's license.

- `mapAutoTaggingMpeId`: string — Launch configuration template map auto tagging MPE ID.

- `parametersEncryptionKey`: string — ARN of the KMS key used to encrypt the AWS Systems Manager parameters used by post launch actions.

- `postLaunchActions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnLaunchConfigurationTemplate.PostLaunchActionsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_mgn.CfnLaunchConfigurationTemplate.PostLaunchActionsProperty.html) — Post launch actions to execute on the Test or Cutover instance.

- `smallVolumeConf`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_mgn.CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty.html) — Launch template disk configuration.

- `smallVolumeMaxSize`: number — Small volume maximum size, in GiB.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — A set of tags to be associated with the Launch Configuration Template.

- `targetInstanceTypeRightSizingMethod`: string — Target instance type right-sizing method.
