Skip to content
v2.273.0

CfnCodeDeployBlueGreenApplication Struct ​

The application actually being deployed.

Type of the CfnCodeDeployBlueGreenHookProps.applications property.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnCodeDeployBlueGreenApplication: cdk.CfnCodeDeployBlueGreenApplication = {
  ecsAttributes: {
    taskDefinitions: ['taskDefinitions'],
    taskSets: ['taskSets'],
    trafficRouting: {
      prodTrafficRoute: {
        logicalId: 'logicalId',
        type: 'type',
      },
      targetGroups: ['targetGroups'],
      testTrafficRoute: {
        logicalId: 'logicalId',
        type: 'type',
      },
    },
  },
  target: {
    logicalId: 'logicalId',
    type: 'type',
  },
};

Properties ​