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

Class: Aws::ElasticLoadBalancing::Types::LoadBalancerDescription

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

Overview

Information about a load balancer.

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zones ⇒ Array<String>

The Availability Zones for the load balancer.

Returns:

  • (Array<String>) —

    The Availability Zones for the load balancer.

#backend_server_descriptions ⇒ Array<Types::BackendServerDescription>

Information about your EC2 instances.

Returns:

#canonical_hosted_zone_name ⇒ String

The DNS name of the load balancer.

For more information, see Configure a Custom Domain Name in the Classic Load Balancers Guide.

Returns:

  • (String) —

    The DNS name of the load balancer.

#canonical_hosted_zone_name_id ⇒ String

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

Returns:

  • (String) —

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

#created_time ⇒ Time

The date and time the load balancer was created.

Returns:

  • (Time) —

    The date and time the load balancer was created.

#dns_name ⇒ String

The DNS name of the load balancer.

Returns:

  • (String) —

    The DNS name of the load balancer.

#health_check ⇒ Types::HealthCheck

Information about the health checks conducted on the load balancer.

Returns:

  • (Types::HealthCheck) —

    Information about the health checks conducted on the load balancer.

#instances ⇒ Array<Types::Instance>

The IDs of the instances for the load balancer.

Returns:

  • (Array<Types::Instance>) —

    The IDs of the instances for the load balancer.

#listener_descriptions ⇒ Array<Types::ListenerDescription>

The listeners for the load balancer.

Returns:

#load_balancer_name ⇒ String

The name of the load balancer.

Returns:

  • (String) —

    The name of the load balancer.

#policies ⇒ Types::Policies

The policies defined for the load balancer.

Returns:

#scheme ⇒ String

The type of load balancer. Valid only for load balancers in a VPC.

If Scheme is internet-facing, the load balancer has a public DNS name that resolves to a public IP address.

If Scheme is internal, the load balancer has a public DNS name that resolves to a private IP address.

Returns:

  • (String) —

    The type of load balancer.

#security_groups ⇒ Array<String>

The security groups for the load balancer. Valid only for load balancers in a VPC.

Returns:

  • (Array<String>) —

    The security groups for the load balancer.

#source_security_group ⇒ Types::SourceSecurityGroup

The security group for the load balancer, which you can use as part of your inbound rules for your registered instances. To only allow traffic from load balancers, add a security group rule that specifies this source security group as the inbound source.

Returns:

  • (Types::SourceSecurityGroup) —

    The security group for the load balancer, which you can use as part of your inbound rules for your registered instances.

#subnets ⇒ Array<String>

The IDs of the subnets for the load balancer.

Returns:

  • (Array<String>) —

    The IDs of the subnets for the load balancer.

#vpc_id ⇒ String

The ID of the VPC for the load balancer.

Returns:

  • (String) —

    The ID of the VPC for the load balancer.