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

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

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

Overview

Information about a load balancer.

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zonesArray<Types::AvailabilityZone>

The subnets for the load balancer.

Returns:

#canonical_hosted_zone_idString

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

Returns:

  • (String)

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

#created_timeTime

The date and time the load balancer was created.

Returns:

  • (Time)

    The date and time the load balancer was created.

#customer_owned_ipv_4_poolString

[Application Load Balancers on Outposts] The ID of the customer-owned address pool.

Returns:

  • (String)

    [Application Load Balancers on Outposts] The ID of the customer-owned address pool.

#dns_nameString

The public DNS name of the load balancer.

Returns:

  • (String)

    The public DNS name of the load balancer.

#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).

Possible values:

  • ipv4
  • dualstack

Returns:

  • (String)

    The type of IP addresses used by the subnets for your load balancer.

#load_balancer_arnString

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

Returns:

  • (String)

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

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)

    The name of the load balancer.

#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 route requests only from clients with access to the VPC for the load balancer.

Possible values:

  • internet-facing
  • internal

Returns:

  • (String)

    The nodes of an Internet-facing load balancer have public IP addresses.

#security_groupsArray<String>

The IDs of the security groups for the load balancer.

Returns:

  • (Array<String>)

    The IDs of the security groups for the load balancer.

#stateTypes::LoadBalancerState

The state of the load balancer.

Returns:

#typeString

The type of load balancer.

Possible values:

  • application
  • network
  • gateway

Returns:

  • (String)

    The type of load balancer.

#vpc_idString

The ID of the VPC for the load balancer.

Returns:

  • (String)

    The ID of the VPC for the load balancer.