Class CfnCodeDeployBlueGreenEcsAttributes
The attributes of the ECS Service being deployed.
public class CfnCodeDeployBlueGreenEcsAttributes : ICfnCodeDeployBlueGreenEcsAttributes
- Inheritance
-
CfnCodeDeployBlueGreenEcsAttributes
- Implements
- Inherited Members
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var cfnCodeDeployBlueGreenEcsAttributes = new CfnCodeDeployBlueGreenEcsAttributes {
TaskDefinitions = new [] { "taskDefinitions" },
TaskSets = new [] { "taskSets" },
TrafficRouting = new CfnTrafficRouting {
ProdTrafficRoute = new CfnTrafficRoute {
LogicalId = "logicalId",
Type = "type"
},
TargetGroups = new [] { "targetGroups" },
TestTrafficRoute = new CfnTrafficRoute {
LogicalId = "logicalId",
Type = "type"
}
}
};
Remarks
Type of the {@link CfnCodeDeployBlueGreenApplication.ecsAttributes} property.
ExampleMetadata: fixture=_generated
Constructors
CfnCodeDeployBlueGreenEcsAttributes()
public CfnCodeDeployBlueGreenEcsAttributes()
Properties
TaskDefinitions
The logical IDs of the blue and green, respectively, AWS::ECS::TaskDefinition task definitions.
public string[] TaskDefinitions { get; set; }
Property Value
- string[]
TaskSets
The logical IDs of the blue and green, respectively, AWS::ECS::TaskSet task sets.
public string[] TaskSets { get; set; }
Property Value
- string[]
TrafficRouting
The traffic routing configuration.
public ICfnTrafficRouting TrafficRouting { get; set; }