interface CfnCodeDeployBlueGreenEcsAttributes
Language | Type name |
---|---|
.NET | Amazon.CDK.CfnCodeDeployBlueGreenEcsAttributes |
Go | github.com/aws/aws-cdk-go/awscdk/v2#CfnCodeDeployBlueGreenEcsAttributes |
Java | software.amazon.awscdk.CfnCodeDeployBlueGreenEcsAttributes |
Python | aws_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
Name | Type | Description |
---|---|---|
task | string[] | The logical IDs of the blue and green, respectively, AWS::ECS::TaskDefinition task definitions. |
task | string[] | The logical IDs of the blue and green, respectively, AWS::ECS::TaskSet task sets. |
traffic | Cfn | The 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:
Cfn
The traffic routing configuration.