class Aws::CodeDeploy::Types::TargetGroupPairInfo

Information about two target groups and how traffic is routed during an Amazon ECS deployment. An optional test traffic route can be specified.

@note When making an API call, you may pass TargetGroupPairInfo

data as a hash:

    {
      target_groups: [
        {
          name: "TargetGroupName",
        },
      ],
      prod_traffic_route: {
        listener_arns: ["ListenerArn"],
      },
      test_traffic_route: {
        listener_arns: ["ListenerArn"],
      },
    }

@!attribute [rw] target_groups

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.
@return [Array<Types::TargetGroupInfo>]

@!attribute [rw] prod_traffic_route

The path used by a load balancer to route production traffic when an
Amazon ECS deployment is complete.
@return [Types::TrafficRoute]

@!attribute [rw] test_traffic_route

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.
@return [Types::TrafficRoute]

@see docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TargetGroupPairInfo AWS API Documentation

Constants

SENSITIVE