interface CdkCommands
Language | Type name |
---|---|
.NET | Amazon.CDK.CloudAssembly.Schema.CdkCommands |
Java | software.amazon.awscdk.cloudassembly.schema.CdkCommands |
Python | aws_cdk.cloud_assembly_schema.CdkCommands |
TypeScript (source) | @aws-cdk/cloud-assembly-schema » CdkCommands |
Options for specific cdk commands that are run as part of the integration test workflow.
Example
const app = new App();
const stackUnderTest = new Stack(app, 'StackUnderTest', /* ... */);
const stack = new Stack(app, 'stack');
const testCase = new IntegTest(app, 'CustomizedDeploymentWorkflow', {
testCases: [stackUnderTest],
diffAssets: true,
stackUpdateWorkflow: true,
cdkCommandOptions: {
deploy: {
args: {
requireApproval: RequireApproval.NEVER,
json: true,
},
},
destroy: {
args: {
force: true,
},
},
},
});
Properties
Name | Type | Description |
---|---|---|
deploy? | Deploy | Options to for the cdk deploy command. |
destroy? | Destroy | Options to for the cdk destroy command. |
deploy?
Type:
Deploy
(optional, default: default deploy options)
Options to for the cdk deploy command.
destroy?
Type:
Destroy
(optional, default: default destroy options)
Options to for the cdk destroy command.