@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:35.799Z") @Stability(value=Stable) public interface CfnCodeDeployBlueGreenEcsAttributes extends software.amazon.jsii.JsiiSerializable
Type of the {@link 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCodeDeployBlueGreenEcsAttributes.Builder
A builder for
CfnCodeDeployBlueGreenEcsAttributes |
static class |
CfnCodeDeployBlueGreenEcsAttributes.Jsii$Proxy
An implementation for
CfnCodeDeployBlueGreenEcsAttributes |
| Modifier and Type | Method and Description |
|---|---|
static CfnCodeDeployBlueGreenEcsAttributes.Builder |
builder() |
List<String> |
getTaskDefinitions()
The logical IDs of the blue and green, respectively, AWS::ECS::TaskDefinition task definitions.
|
List<String> |
getTaskSets()
The logical IDs of the blue and green, respectively, AWS::ECS::TaskSet task sets.
|
CfnTrafficRouting |
getTrafficRouting()
The traffic routing configuration.
|
@Stability(value=Stable) @NotNull List<String> getTaskDefinitions()
@Stability(value=Stable) @NotNull List<String> getTaskSets()
@Stability(value=Stable) @NotNull CfnTrafficRouting getTrafficRouting()
@Stability(value=Stable) static CfnCodeDeployBlueGreenEcsAttributes.Builder builder()
Copyright © 2022. All rights reserved.