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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb

Overview

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"],
  },
}

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:



4446
4447
4448
4449
4450
4451
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 4446

class TargetGroupPairInfo < Struct.new(
  :target_groups,
  :prod_traffic_route,
  :test_traffic_route)
  include Aws::Structure
end

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



4446
4447
4448
4449
4450
4451
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 4446

class TargetGroupPairInfo < Struct.new(
  :target_groups,
  :prod_traffic_route,
  :test_traffic_route)
  include Aws::Structure
end

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



4446
4447
4448
4449
4450
4451
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 4446

class TargetGroupPairInfo < Struct.new(
  :target_groups,
  :prod_traffic_route,
  :test_traffic_route)
  include Aws::Structure
end