Interface ICfnCodeDeployBlueGreenEcsAttributes
The attributes of the ECS Service being deployed.
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnCodeDeployBlueGreenEcsAttributes
Syntax (vb)
Public Interface ICfnCodeDeployBlueGreenEcsAttributes
Remarks
Type of the CfnCodeDeployBlueGreenApplication.ecsAttributes property.
ExampleMetadata: fixture=_generated
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"
}
}
};
Synopsis
Properties
| TaskDefinitions | The logical IDs of the blue and green, respectively, AWS::ECS::TaskDefinition task definitions. |
| TaskSets | The logical IDs of the blue and green, respectively, AWS::ECS::TaskSet task sets. |
| TrafficRouting | The traffic routing configuration. |
Properties
TaskDefinitions
The logical IDs of the blue and green, respectively, AWS::ECS::TaskDefinition task definitions.
string[] TaskDefinitions { get; }
Property Value
string[]
Remarks
Type of the CfnCodeDeployBlueGreenApplication.ecsAttributes property.
ExampleMetadata: fixture=_generated
TaskSets
The logical IDs of the blue and green, respectively, AWS::ECS::TaskSet task sets.
string[] TaskSets { get; }
Property Value
string[]
Remarks
Type of the CfnCodeDeployBlueGreenApplication.ecsAttributes property.
ExampleMetadata: fixture=_generated
TrafficRouting
The traffic routing configuration.
ICfnTrafficRouting TrafficRouting { get; }
Property Value
Remarks
Type of the CfnCodeDeployBlueGreenApplication.ecsAttributes property.
ExampleMetadata: fixture=_generated