aws-cdk-lib.CfnCodeDeployBlueGreenEcsAttributes

interface CfnCodeDeployBlueGreenEcsAttributes

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

The attributes of the ECS Service being deployed.

Type of the CfnCodeDeployBlueGreenApplication.ecsAttributes 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 cfnCodeDeployBlueGreenEcsAttributes: cdk.CfnCodeDeployBlueGreenEcsAttributes = {
  taskDefinitions: ['taskDefinitions'],
  taskSets: ['taskSets'],
  trafficRouting: {
    prodTrafficRoute: {
      logicalId: 'logicalId',
      type: 'type',
    },
    targetGroups: ['targetGroups'],
    testTrafficRoute: {
      logicalId: 'logicalId',
      type: 'type',
    },
  },
};

Properties

NameTypeDescription
taskDefinitionsstring[]The logical IDs of the blue and green, respectively, AWS::ECS::TaskDefinition task definitions.
taskSetsstring[]The logical IDs of the blue and green, respectively, AWS::ECS::TaskSet task sets.
trafficRoutingCfnTrafficRoutingThe traffic routing configuration.

taskDefinitions

Type: string[]

The logical IDs of the blue and green, respectively, AWS::ECS::TaskDefinition task definitions.


taskSets

Type: string[]

The logical IDs of the blue and green, respectively, AWS::ECS::TaskSet task sets.


trafficRouting

Type: CfnTrafficRouting

The traffic routing configuration.