aws-cdk-lib.CfnCodeDeployBlueGreenApplication

interface CfnCodeDeployBlueGreenApplication

LanguageType name
.NETAmazon.CDK.CfnCodeDeployBlueGreenApplication
Gogithub.com/aws/aws-cdk-go/awscdk/v2#CfnCodeDeployBlueGreenApplication
Javasoftware.amazon.awscdk.CfnCodeDeployBlueGreenApplication
Pythonaws_cdk.CfnCodeDeployBlueGreenApplication
TypeScript (source)aws-cdk-lib » CfnCodeDeployBlueGreenApplication

The application actually being deployed.

Type of the CfnCodeDeployBlueGreenHookProps.applications property.

Example

// 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

NameTypeDescription
ecsAttributesCfnCodeDeployBlueGreenEcsAttributesThe detailed attributes of the deployed target.
targetCfnCodeDeployBlueGreenApplicationTargetThe target that is being deployed.

ecsAttributes

Type: CfnCodeDeployBlueGreenEcsAttributes

The detailed attributes of the deployed target.


target

Type: CfnCodeDeployBlueGreenApplicationTarget

The target that is being deployed.