Class: Aws::CodeDeploy::Types::TargetGroupPairInfo
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeDeploy::Types::TargetGroupPairInfo
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codedeploy/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#prod_traffic_route ⇒ Types::TrafficRoute
The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
-
#target_groups ⇒ Array<Types::TargetGroupInfo>
One pair of target groups.
-
#test_traffic_route ⇒ Types::TrafficRoute
An optional path used by a load balancer to route test traffic after an Amazon ECS deployment.
Instance Attribute Details
#prod_traffic_route ⇒ Types::TrafficRoute
The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
5415 5416 5417 5418 5419 5420 5421 |
# File 'lib/aws-sdk-codedeploy/types.rb', line 5415 class TargetGroupPairInfo < Struct.new( :target_groups, :prod_traffic_route, :test_traffic_route) SENSITIVE = [] include Aws::Structure end |
#target_groups ⇒ Array<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.
5415 5416 5417 5418 5419 5420 5421 |
# File 'lib/aws-sdk-codedeploy/types.rb', line 5415 class TargetGroupPairInfo < Struct.new( :target_groups, :prod_traffic_route, :test_traffic_route) SENSITIVE = [] include Aws::Structure end |
#test_traffic_route ⇒ Types::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.
5415 5416 5417 5418 5419 5420 5421 |
# File 'lib/aws-sdk-codedeploy/types.rb', line 5415 class TargetGroupPairInfo < Struct.new( :target_groups, :prod_traffic_route, :test_traffic_route) SENSITIVE = [] include Aws::Structure end |