@aws-cdk_cloud-assembly-schema.Hooks

interface Hooks

LanguageType name
.NETAmazon.CDK.CloudAssembly.Schema.Hooks
Javasoftware.amazon.awscdk.cloudassembly.schema.Hooks
Pythonaws_cdk.cloud_assembly_schema.Hooks
TypeScript (source)@aws-cdk/cloud-assembly-schema » Hooks

Commands to run at predefined points during the integration test workflow.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';
const hooks: cloud_assembly_schema.Hooks = {
  postDeploy: ['postDeploy'],
  postDestroy: ['postDestroy'],
  preDeploy: ['preDeploy'],
  preDestroy: ['preDestroy'],
};

Properties

NameTypeDescription
postDeploy?string[]Commands to run prior after deploying the cdk stacks in the integration test.
postDestroy?string[]Commands to run after destroying the cdk stacks in the integration test.
preDeploy?string[]Commands to run prior to deploying the cdk stacks in the integration test.
preDestroy?string[]Commands to run prior to destroying the cdk stacks in the integration test.

postDeploy?

Type: string[] (optional, default: no commands)

Commands to run prior after deploying the cdk stacks in the integration test.


postDestroy?

Type: string[] (optional, default: no commands)

Commands to run after destroying the cdk stacks in the integration test.


preDeploy?

Type: string[] (optional, default: no commands)

Commands to run prior to deploying the cdk stacks in the integration test.


preDestroy?

Type: string[] (optional, default: no commands)

Commands to run prior to destroying the cdk stacks in the integration test.