interface SsmDocumentProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MGN.CfnLaunchConfigurationTemplate.SsmDocumentProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmgn#CfnLaunchConfigurationTemplate_SsmDocumentProperty |
Java | software.amazon.awscdk.services.mgn.CfnLaunchConfigurationTemplate.SsmDocumentProperty |
Python | aws_cdk.aws_mgn.CfnLaunchConfigurationTemplate.SsmDocumentProperty |
TypeScript | aws-cdk-lib » aws_mgn » CfnLaunchConfigurationTemplate » SsmDocumentProperty |
An AWS Systems Manager Document to execute as a post launch action.
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 ssmDocumentProperty: mgn.CfnLaunchConfigurationTemplate.SsmDocumentProperty = {
actionName: 'actionName',
ssmDocumentName: 'ssmDocumentName',
// the properties below are optional
externalParameters: {
externalParametersKey: {
dynamicPath: 'dynamicPath',
},
},
mustSucceedForCutover: false,
parameters: {
parametersKey: [{
parameterName: 'parameterName',
parameterType: 'parameterType',
}],
},
timeoutSeconds: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| action | string | User-friendly name for the AWS Systems Manager Document. |
| ssm | string | AWS Systems Manager Document name or full ARN. |
| external | IResolvable | { [string]: IResolvable | Ssm } | AWS Systems Manager Document external parameters. |
| must | boolean | IResolvable | Whether Cutover is blocked when the document has failed. |
| parameters? | IResolvable | { [string]: IResolvable | (IResolvable | Ssm)[] } | AWS Systems Manager Document parameters, each resolved from AWS Systems Manager Parameter Store. |
| timeout | number | AWS Systems Manager Document timeout, in seconds. |
actionName
Type:
string
User-friendly name for the AWS Systems Manager Document.
ssmDocumentName
Type:
string
AWS Systems Manager Document name or full ARN.
externalParameters?
Type:
IResolvable | { [string]: IResolvable | Ssm }
(optional)
AWS Systems Manager Document external parameters.
mustSucceedForCutover?
Type:
boolean | IResolvable
(optional)
Whether Cutover is blocked when the document has failed.
parameters?
Type:
IResolvable | { [string]: IResolvable | (IResolvable | Ssm)[] }
(optional)
AWS Systems Manager Document parameters, each resolved from AWS Systems Manager Parameter Store.
timeoutSeconds?
Type:
number
(optional)
AWS Systems Manager Document timeout, in seconds.

.NET
Go
Java
Python
TypeScript