@aws-cdk_cloud-assembly-schema.CdkCommands

interface CdkCommands

LanguageType name
.NETAmazon.CDK.CloudAssembly.Schema.CdkCommands
Javasoftware.amazon.awscdk.cloudassembly.schema.CdkCommands
Pythonaws_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

// 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 cdkCommands: cloud_assembly_schema.CdkCommands = {
  deploy: {
    args: {
      all: false,
      app: 'app',
      assetMetadata: false,
      caBundlePath: 'caBundlePath',
      changeSetName: 'changeSetName',
      ci: false,
      color: false,
      context: {
        contextKey: 'context',
      },
      debug: false,
      ec2Creds: false,
      exclusively: false,
      execute: false,
      force: false,
      ignoreErrors: false,
      json: false,
      lookups: false,
      notices: false,
      notificationArns: ['notificationArns'],
      output: 'output',
      outputsFile: 'outputsFile',
      parameters: {
        parametersKey: 'parameters',
      },
      pathMetadata: false,
      profile: 'profile',
      proxy: 'proxy',
      requireApproval: cloud_assembly_schema.RequireApproval.NEVER,
      reuseAssets: ['reuseAssets'],
      roleArn: 'roleArn',
      rollback: false,
      stacks: ['stacks'],
      staging: false,
      strict: false,
      toolkitStackName: 'toolkitStackName',
      trace: false,
      usePreviousParameters: false,
      verbose: false,
      versionReporting: false,
    },
    enabled: false,
    expectedMessage: 'expectedMessage',
    expectError: false,
  },
  destroy: {
    args: {
      all: false,
      app: 'app',
      assetMetadata: false,
      caBundlePath: 'caBundlePath',
      color: false,
      context: {
        contextKey: 'context',
      },
      debug: false,
      ec2Creds: false,
      exclusively: false,
      force: false,
      ignoreErrors: false,
      json: false,
      lookups: false,
      notices: false,
      output: 'output',
      pathMetadata: false,
      profile: 'profile',
      proxy: 'proxy',
      roleArn: 'roleArn',
      stacks: ['stacks'],
      staging: false,
      strict: false,
      trace: false,
      verbose: false,
      versionReporting: false,
    },
    enabled: false,
    expectedMessage: 'expectedMessage',
    expectError: false,
  },
};

Properties

NameTypeDescription
deploy?DeployCommandOptions to for the cdk deploy command.
destroy?DestroyCommandOptions to for the cdk destroy command.

deploy?

Type: DeployCommand (optional, default: default deploy options)

Options to for the cdk deploy command.


destroy?

Type: DestroyCommand (optional, default: default destroy options)

Options to for the cdk destroy command.