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 ​

cloudWatchLogGroupNameoptionalstringcloud_watch_log_group_nameoptionalstrcloudWatchLogGroupNameoptionalStringCloudWatchLogGroupNameoptionalstringCloudWatchLogGroupNameoptional*string#
AWS Systems Manager Command's CloudWatch log group name.
deploymentoptionalstringdeploymentoptionalstrdeploymentoptionalStringDeploymentoptionalstringDeploymentoptional*string#
Deployment type in which AWS Systems Manager Documents will be executed.
s3LogBucketoptionalstrings3_log_bucketoptionalstrs3LogBucketoptionalStringS3LogBucketoptionalstringS3LogBucketoptional*string#
AWS Systems Manager Command's logs S3 log bucket.
s3OutputKeyPrefixoptionalstrings3_output_key_prefixoptionalstrs3OutputKeyPrefixoptionalStringS3OutputKeyPrefixoptionalstringS3OutputKeyPrefixoptional*string#
AWS Systems Manager Command's logs S3 output key prefix.
ssmDocumentsoptionalIResolvable | IResolvable | CfnLaunchConfigurationTemplate.SsmDocumentProperty[]ssm_documentsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SsmDocumentProperty]]]ssmDocumentsoptionalIResolvableSsmDocumentsoptionalIResolvableSsmDocumentsoptionalinterface{}#
AWS Systems Manager Documents to execute, in order.