CfnCodeDeployBlueGreenEcsAttributes Struct
The attributes of the ECS Service being deployed.
Type of the CfnCodeDeployBlueGreenApplication.ecsAttributes 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 cfnCodeDeployBlueGreenEcsAttributes: cdk.CfnCodeDeployBlueGreenEcsAttributes = {
taskDefinitions: ['taskDefinitions'],
taskSets: ['taskSets'],
trafficRouting: {
prodTrafficRoute: {
logicalId: 'logicalId',
type: 'type',
},
targetGroups: ['targetGroups'],
testTrafficRoute: {
logicalId: 'logicalId',
type: 'type',
},
},
};
Properties
taskDefinitionsstring[]task_definitionstyping.List[str]taskDefinitionsList<String>TaskDefinitionsstring[]TaskDefinitions*[]*stringrequired#The logical IDs of the blue and green, respectively, AWS::ECS::TaskDefinition task definitions.
taskSetsstring[]task_setstyping.List[str]taskSetsList<String>TaskSetsstring[]TaskSets*[]*stringrequired#The logical IDs of the blue and green, respectively, AWS::ECS::TaskSet task sets.
trafficRoutingCfnTrafficRoutingtraffic_routingCfnTrafficRoutingtrafficRoutingCfnTrafficRoutingTrafficRoutingCfnTrafficRoutingTrafficRoutingCfnTrafficRoutingrequired#The traffic routing configuration.