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

Class: Aws::ElasticLoadBalancingV2::Types::LoadBalancer

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

Overview

Information about a load balancer.

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zonesArray<Types::AvailabilityZone>

The Availability Zones for the load balancer.

Returns:



1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1676

class LoadBalancer < Struct.new(
  :load_balancer_arn,
  :dns_name,
  :canonical_hosted_zone_id,
  :created_time,
  :load_balancer_name,
  :scheme,
  :vpc_id,
  :state,
  :type,
  :availability_zones,
  :security_groups,
  :ip_address_type)
  include Aws::Structure
end

#canonical_hosted_zone_idString

The ID of the Amazon Route 53 hosted zone associated with the load balancer.

Returns:

  • (String)


1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1676

class LoadBalancer < Struct.new(
  :load_balancer_arn,
  :dns_name,
  :canonical_hosted_zone_id,
  :created_time,
  :load_balancer_name,
  :scheme,
  :vpc_id,
  :state,
  :type,
  :availability_zones,
  :security_groups,
  :ip_address_type)
  include Aws::Structure
end

#created_timeTime

The date and time the load balancer was created.

Returns:

  • (Time)


1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1676

class LoadBalancer < Struct.new(
  :load_balancer_arn,
  :dns_name,
  :canonical_hosted_zone_id,
  :created_time,
  :load_balancer_name,
  :scheme,
  :vpc_id,
  :state,
  :type,
  :availability_zones,
  :security_groups,
  :ip_address_type)
  include Aws::Structure
end

#dns_nameString

The public DNS name of the load balancer.

Returns:

  • (String)


1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1676

class LoadBalancer < Struct.new(
  :load_balancer_arn,
  :dns_name,
  :canonical_hosted_zone_id,
  :created_time,
  :load_balancer_name,
  :scheme,
  :vpc_id,
  :state,
  :type,
  :availability_zones,
  :security_groups,
  :ip_address_type)
  include Aws::Structure
end

#ip_address_typeString

The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

Returns:

  • (String)


1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1676

class LoadBalancer < Struct.new(
  :load_balancer_arn,
  :dns_name,
  :canonical_hosted_zone_id,
  :created_time,
  :load_balancer_name,
  :scheme,
  :vpc_id,
  :state,
  :type,
  :availability_zones,
  :security_groups,
  :ip_address_type)
  include Aws::Structure
end

#load_balancer_arnString

The Amazon Resource Name (ARN) of the load balancer.

Returns:

  • (String)


1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1676

class LoadBalancer < Struct.new(
  :load_balancer_arn,
  :dns_name,
  :canonical_hosted_zone_id,
  :created_time,
  :load_balancer_name,
  :scheme,
  :vpc_id,
  :state,
  :type,
  :availability_zones,
  :security_groups,
  :ip_address_type)
  include Aws::Structure
end

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)


1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1676

class LoadBalancer < Struct.new(
  :load_balancer_arn,
  :dns_name,
  :canonical_hosted_zone_id,
  :created_time,
  :load_balancer_name,
  :scheme,
  :vpc_id,
  :state,
  :type,
  :availability_zones,
  :security_groups,
  :ip_address_type)
  include Aws::Structure
end

#schemeString

The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet.

The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.

Returns:

  • (String)


1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1676

class LoadBalancer < Struct.new(
  :load_balancer_arn,
  :dns_name,
  :canonical_hosted_zone_id,
  :created_time,
  :load_balancer_name,
  :scheme,
  :vpc_id,
  :state,
  :type,
  :availability_zones,
  :security_groups,
  :ip_address_type)
  include Aws::Structure
end

#security_groupsArray<String>

The IDs of the security groups for the load balancer.

Returns:

  • (Array<String>)


1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1676

class LoadBalancer < Struct.new(
  :load_balancer_arn,
  :dns_name,
  :canonical_hosted_zone_id,
  :created_time,
  :load_balancer_name,
  :scheme,
  :vpc_id,
  :state,
  :type,
  :availability_zones,
  :security_groups,
  :ip_address_type)
  include Aws::Structure
end

#stateTypes::LoadBalancerState

The state of the load balancer.



1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1676

class LoadBalancer < Struct.new(
  :load_balancer_arn,
  :dns_name,
  :canonical_hosted_zone_id,
  :created_time,
  :load_balancer_name,
  :scheme,
  :vpc_id,
  :state,
  :type,
  :availability_zones,
  :security_groups,
  :ip_address_type)
  include Aws::Structure
end

#typeString

The type of load balancer.

Returns:

  • (String)


1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1676

class LoadBalancer < Struct.new(
  :load_balancer_arn,
  :dns_name,
  :canonical_hosted_zone_id,
  :created_time,
  :load_balancer_name,
  :scheme,
  :vpc_id,
  :state,
  :type,
  :availability_zones,
  :security_groups,
  :ip_address_type)
  include Aws::Structure
end

#vpc_idString

The ID of the VPC for the load balancer.

Returns:

  • (String)


1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 1676

class LoadBalancer < Struct.new(
  :load_balancer_arn,
  :dns_name,
  :canonical_hosted_zone_id,
  :created_time,
  :load_balancer_name,
  :scheme,
  :vpc_id,
  :state,
  :type,
  :availability_zones,
  :security_groups,
  :ip_address_type)
  include Aws::Structure
end