Skip to content
v2.274.0

PostLaunchActionsProperty Struct ​

Post launch actions to execute on the Test or Cutover instance.

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 postLaunchActionsProperty: mgn.CfnLaunchConfigurationTemplate.PostLaunchActionsProperty = {
  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,
  }],
};

Properties ​

cloudWatchLogGroupNamestringcloud_watch_log_group_namestrcloudWatchLogGroupNameStringCloudWatchLogGroupNamestringCloudWatchLogGroupName*string#
AWS Systems Manager Command's CloudWatch log group name.
deploymentstringdeploymentstrdeploymentStringDeploymentstringDeployment*string#
Deployment type in which AWS Systems Manager Documents will be executed.
s3LogBucketstrings3_log_bucketstrs3LogBucketStringS3LogBucketstringS3LogBucket*string#
AWS Systems Manager Command's logs S3 log bucket.
s3OutputKeyPrefixstrings3_output_key_prefixstrs3OutputKeyPrefixStringS3OutputKeyPrefixstringS3OutputKeyPrefix*string#
AWS Systems Manager Command's logs S3 output key prefix.
ssmDocumentsIResolvable | IResolvable | CfnLaunchConfigurationTemplate.SsmDocumentProperty[]ssm_documentstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SsmDocumentProperty]]]ssmDocumentsIResolvableSsmDocumentsIResolvableSsmDocumentsinterface{}#
AWS Systems Manager Documents to execute, in order.