Package software.amazon.awscdk.core
Interface CfnTrafficRouting
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnTrafficRouting.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:29:54.961Z")
@Stability(Stable)
public interface CfnTrafficRouting
extends software.amazon.jsii.JsiiSerializable
Type of the 
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();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTrafficRoutingstatic final classAn implementation forCfnTrafficRouting
- 
Method SummaryModifier and TypeMethodDescriptionstatic CfnTrafficRouting.Builderbuilder()The listener to be used by your load balancer to direct traffic to your target groups.The logical IDs of the blue and green, respectively, AWS::ElasticLoadBalancingV2::TargetGroup target groups.The listener to be used by your load balancer to direct traffic to your target groups.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getProdTrafficRouteThe listener to be used by your load balancer to direct traffic to your target groups.
- 
getTargetGroupsThe logical IDs of the blue and green, respectively, AWS::ElasticLoadBalancingV2::TargetGroup target groups.
- 
getTestTrafficRouteThe listener to be used by your load balancer to direct traffic to your target groups.
- 
builder- Returns:
- a CfnTrafficRouting.BuilderofCfnTrafficRouting
 
 
-