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

Class: Aws::CodeDeploy::Types::LoadBalancerInfo

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 LoadBalancerInfo data as a hash:

{
  elb_info_list: [
    {
      name: "ELBName",
    },
  ],
  target_group_info_list: [
    {
      name: "TargetGroupName",
    },
  ],
  target_group_pair_info_list: [
    {
      target_groups: [
        {
          name: "TargetGroupName",
        },
      ],
      prod_traffic_route: {
        listener_arns: ["ListenerArn"],
      },
      test_traffic_route: {
        listener_arns: ["ListenerArn"],
      },
    },
  ],
}

Information about the Elastic Load Balancing load balancer or target group used in a deployment.

Instance Attribute Summary collapse

Instance Attribute Details

#elb_info_listArray<Types::ELBInfo>

An array that contains information about the load balancer to use for load balancing in a deployment. In Elastic Load Balancing, load balancers are used with Classic Load Balancers.

Adding more than one load balancer to the array is not supported.

Returns:



3740
3741
3742
3743
3744
3745
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3740

class LoadBalancerInfo < Struct.new(
  :elb_info_list,
  :target_group_info_list,
  :target_group_pair_info_list)
  include Aws::Structure
end

#target_group_info_listArray<Types::TargetGroupInfo>

An array that contains information about the target group to use for load balancing in a deployment. In Elastic Load Balancing, target groups are used with Application Load Balancers.

Adding more than one target group to the array is not supported.

Returns:



3740
3741
3742
3743
3744
3745
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3740

class LoadBalancerInfo < Struct.new(
  :elb_info_list,
  :target_group_info_list,
  :target_group_pair_info_list)
  include Aws::Structure
end

#target_group_pair_info_listArray<Types::TargetGroupPairInfo>

The target group pair information. This is an array of TargeGroupPairInfo objects with a maximum size of one.

Returns:



3740
3741
3742
3743
3744
3745
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3740

class LoadBalancerInfo < Struct.new(
  :elb_info_list,
  :target_group_info_list,
  :target_group_pair_info_list)
  include Aws::Structure
end