CfnTrafficRouting¶
-
class
aws_cdk.core.
CfnTrafficRouting
(*, prod_traffic_route, target_groups, test_traffic_route)¶ Bases:
object
Type of the {@link CfnCodeDeployBlueGreenEcsAttributes.trafficRouting} property.
- Parameters
prod_traffic_route (
CfnTrafficRoute
) – The listener to be used by your load balancer to direct traffic to your target groups.target_groups (
List
[str
]) – The logical IDs of the blue and green, respectively, AWS::ElasticLoadBalancingV2::TargetGroup target groups.test_traffic_route (
CfnTrafficRoute
) – The listener to be used by your load balancer to direct traffic to your target groups.
Attributes
-
prod_traffic_route
¶ The listener to be used by your load balancer to direct traffic to your target groups.
- Return type
-
target_groups
¶ The logical IDs of the blue and green, respectively, AWS::ElasticLoadBalancingV2::TargetGroup target groups.
- Return type
List
[str
]
-
test_traffic_route
¶ The listener to be used by your load balancer to direct traffic to your target groups.
- Return type