You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CodeDeploy::Types::TargetGroupPairInfo

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TargetGroupPairInfo as input to an Aws::Client method, you can use a vanilla Hash:

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#prod_traffic_routeTypes::TrafficRoute

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

Returns:

  • (Types::TrafficRoute)

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

#target_groupsArray<Types::TargetGroupInfo>

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.

Returns:

#test_traffic_routeTypes::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.

Returns:

  • (Types::TrafficRoute)

    An optional path used by a load balancer to route test traffic after an Amazon ECS deployment.