@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-20T22:19:53.004Z")
public interface CfnTrafficRouting
CfnCodeDeployBlueGreenEcsAttributes.trafficRouting
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.core.*; CfnTrafficRouting cfnTrafficRouting = CfnTrafficRouting.builder() .prodTrafficRoute(CfnTrafficRoute.builder() .logicalId("logicalId") .type("type") .build()) .targetGroups(List.of("targetGroups")) .testTrafficRoute(CfnTrafficRoute.builder() .logicalId("logicalId") .type("type") .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnTrafficRouting.Builder
A builder for
CfnTrafficRouting |
static class |
CfnTrafficRouting.Jsii$Proxy
An implementation for
CfnTrafficRouting |
Modifier and Type | Method and Description |
---|---|
static CfnTrafficRouting.Builder |
builder() |
CfnTrafficRoute |
getProdTrafficRoute()
The listener to be used by your load balancer to direct traffic to your target groups.
|
java.util.List<java.lang.String> |
getTargetGroups()
The logical IDs of the blue and green, respectively, AWS::ElasticLoadBalancingV2::TargetGroup target groups.
|
CfnTrafficRoute |
getTestTrafficRoute()
The listener to be used by your load balancer to direct traffic to your target groups.
|
CfnTrafficRoute getProdTrafficRoute()
java.util.List<java.lang.String> getTargetGroups()
CfnTrafficRoute getTestTrafficRoute()
static CfnTrafficRouting.Builder builder()
CfnTrafficRouting.Builder
of CfnTrafficRouting