Skip to content

TargetGroupPairInfo

Source code in docs_src/capo_codedeploy/types/target_group_pair_info.py
class TargetGroupPairInfo(TypedDict, closed=True):
    target_groups: NotRequired[
        "capo_codedeploy.types.target_group_info_list.TargetGroupInfoList"
    ]
    """<p> One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete. </p>"""
    prod_traffic_route: NotRequired["capo_codedeploy.types.traffic_route.TrafficRoute"]
    """<p> The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete. </p>"""
    test_traffic_route: NotRequired["capo_codedeploy.types.traffic_route.TrafficRoute"]
    """<p> An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a deployment. </p>"""

prod_traffic_route instance-attribute

prod_traffic_route: NotRequired[TrafficRoute]

The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.

target_groups instance-attribute

target_groups: NotRequired[TargetGroupInfoList]

One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.

test_traffic_route instance-attribute

test_traffic_route: NotRequired[TrafficRoute]

An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a deployment.