interface CfnLaunchConfigurationTemplateProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MGN.CfnLaunchConfigurationTemplateProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmgn#CfnLaunchConfigurationTemplateProps |
Java | software.amazon.awscdk.services.mgn.CfnLaunchConfigurationTemplateProps |
Python | aws_cdk.aws_mgn.CfnLaunchConfigurationTemplateProps |
TypeScript | aws-cdk-lib » aws_mgn » CfnLaunchConfigurationTemplateProps |
Properties for defining a CfnLaunchConfigurationTemplate.
Example
// 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
| Name | Type | Description |
|---|---|---|
| associate | boolean | IResolvable | Whether to associate a public IP address with the launched instance. |
| boot | string | Launch configuration template boot mode. |
| copy | boolean | IResolvable | Whether to copy the private IP of the source server. |
| copy | boolean | IResolvable | Whether to copy the tags of the source server. |
| enable | boolean | IResolvable | Whether to enable map auto tagging. |
| enable | boolean | IResolvable | Whether to enable encryption of the AWS Systems Manager parameters used by post launch actions. |
| large | IResolvable | Launch | Launch template disk configuration. |
| launch | string | Launch disposition. |
| licensing? | IResolvable | Licensing | Configuration of a machine's license. |
| map | string | Launch configuration template map auto tagging MPE ID. |
| parameters | string | ARN of the KMS key used to encrypt the AWS Systems Manager parameters used by post launch actions. |
| post | IResolvable | Post | Post launch actions to execute on the Test or Cutover instance. |
| small | IResolvable | Launch | Launch template disk configuration. |
| small | number | Small volume maximum size, in GiB. |
| tags? | Cfn[] | A set of tags to be associated with the Launch Configuration Template. |
| target | string | Target instance type right-sizing method. |
associatePublicIpAddress?
Type:
boolean | IResolvable
(optional)
Whether to associate a public IP address with the launched instance.
bootMode?
Type:
string
(optional)
Launch configuration template boot mode.
copyPrivateIp?
Type:
boolean | IResolvable
(optional)
Whether to copy the private IP of the source server.
copyTags?
Type:
boolean | IResolvable
(optional)
Whether to copy the tags of the source server.
enableMapAutoTagging?
Type:
boolean | IResolvable
(optional)
Whether to enable map auto tagging.
enableParametersEncryption?
Type:
boolean | IResolvable
(optional)
Whether to enable encryption of the AWS Systems Manager parameters used by post launch actions.
largeVolumeConf?
Type:
IResolvable | Launch
(optional)
Launch template disk configuration.
launchDisposition?
Type:
string
(optional)
Launch disposition.
licensing?
Type:
IResolvable | Licensing
(optional)
Configuration of a machine's license.
mapAutoTaggingMpeId?
Type:
string
(optional)
Launch configuration template map auto tagging MPE ID.
parametersEncryptionKey?
Type:
string
(optional)
ARN of the KMS key used to encrypt the AWS Systems Manager parameters used by post launch actions.
postLaunchActions?
Type:
IResolvable | Post
(optional)
Post launch actions to execute on the Test or Cutover instance.
smallVolumeConf?
Type:
IResolvable | Launch
(optional)
Launch template disk configuration.
smallVolumeMaxSize?
Type:
number
(optional)
Small volume maximum size, in GiB.
tags?
Type:
Cfn[]
(optional)
A set of tags to be associated with the Launch Configuration Template.
targetInstanceTypeRightSizingMethod?
Type:
string
(optional)
Target instance type right-sizing method.

.NET
Go
Java
Python
TypeScript