Package software.amazon.awscdk
Interface CfnCodeDeployBlueGreenEcsAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCodeDeployBlueGreenEcsAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:12.998Z")
@Stability(Stable)
public interface CfnCodeDeployBlueGreenEcsAttributes
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.*;
CfnCodeDeployBlueGreenEcsAttributes cfnCodeDeployBlueGreenEcsAttributes = CfnCodeDeployBlueGreenEcsAttributes.builder()
.taskDefinitions(List.of("taskDefinitions"))
.taskSets(List.of("taskSets"))
.trafficRouting(CfnTrafficRouting.builder()
.prodTrafficRoute(CfnTrafficRoute.builder()
.logicalId("logicalId")
.type("type")
.build())
.targetGroups(List.of("targetGroups"))
.testTrafficRoute(CfnTrafficRoute.builder()
.logicalId("logicalId")
.type("type")
.build())
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCodeDeployBlueGreenEcsAttributesstatic final classAn implementation forCfnCodeDeployBlueGreenEcsAttributes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The logical IDs of the blue and green, respectively, AWS::ECS::TaskDefinition task definitions.The logical IDs of the blue and green, respectively, AWS::ECS::TaskSet task sets.The traffic routing configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTaskDefinitions
The logical IDs of the blue and green, respectively, AWS::ECS::TaskDefinition task definitions. -
getTaskSets
The logical IDs of the blue and green, respectively, AWS::ECS::TaskSet task sets. -
getTrafficRouting
The traffic routing configuration. -
builder
-