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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zonesArray<Types::AvailabilityZone>

The subnets for the load balancer.

Returns:



2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2251

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,
  :customer_owned_ipv_4_pool,
  :enforce_security_group_inbound_rules_on_private_link_traffic)
  SENSITIVE = []
  include Aws::Structure
end

#canonical_hosted_zone_idString

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

Returns:

  • (String)


2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2251

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,
  :customer_owned_ipv_4_pool,
  :enforce_security_group_inbound_rules_on_private_link_traffic)
  SENSITIVE = []
  include Aws::Structure
end

#created_timeTime

The date and time the load balancer was created.

Returns:

  • (Time)


2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2251

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,
  :customer_owned_ipv_4_pool,
  :enforce_security_group_inbound_rules_on_private_link_traffic)
  SENSITIVE = []
  include Aws::Structure
end

#customer_owned_ipv_4_poolString

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

Returns:

  • (String)


2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2251

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,
  :customer_owned_ipv_4_pool,
  :enforce_security_group_inbound_rules_on_private_link_traffic)
  SENSITIVE = []
  include Aws::Structure
end

#dns_nameString

The public DNS name of the load balancer.

Returns:

  • (String)


2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2251

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,
  :customer_owned_ipv_4_pool,
  :enforce_security_group_inbound_rules_on_private_link_traffic)
  SENSITIVE = []
  include Aws::Structure
end

Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink.

Returns:

  • (String)


2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2251

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,
  :customer_owned_ipv_4_pool,
  :enforce_security_group_inbound_rules_on_private_link_traffic)
  SENSITIVE = []
  include Aws::Structure
end

#ip_address_typeString

[Application Load Balancers] The type of IP addresses used for public or private connections by the subnets attached to your load balancer. The possible values are ipv4 (for only IPv4 addresses), dualstack (for IPv4 and IPv6 addresses), and dualstack-without-public-ipv4 (for IPv6 only public addresses, with private IPv4 and IPv6 addresses).

[Network Load Balancers and Gateway Load Balancers] The type of IP addresses used for public or private connections by the subnets attached to your load balancer. The possible values are ipv4 (for only IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses).

Returns:

  • (String)


2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2251

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,
  :customer_owned_ipv_4_pool,
  :enforce_security_group_inbound_rules_on_private_link_traffic)
  SENSITIVE = []
  include Aws::Structure
end

#load_balancer_arnString

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

Returns:

  • (String)


2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2251

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,
  :customer_owned_ipv_4_pool,
  :enforce_security_group_inbound_rules_on_private_link_traffic)
  SENSITIVE = []
  include Aws::Structure
end

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)


2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2251

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,
  :customer_owned_ipv_4_pool,
  :enforce_security_group_inbound_rules_on_private_link_traffic)
  SENSITIVE = []
  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 route requests only from clients with access to the VPC for the load balancer.

Returns:

  • (String)


2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2251

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,
  :customer_owned_ipv_4_pool,
  :enforce_security_group_inbound_rules_on_private_link_traffic)
  SENSITIVE = []
  include Aws::Structure
end

#security_groupsArray<String>

The IDs of the security groups for the load balancer.

Returns:

  • (Array<String>)


2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2251

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,
  :customer_owned_ipv_4_pool,
  :enforce_security_group_inbound_rules_on_private_link_traffic)
  SENSITIVE = []
  include Aws::Structure
end

#stateTypes::LoadBalancerState

The state of the load balancer.



2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2251

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,
  :customer_owned_ipv_4_pool,
  :enforce_security_group_inbound_rules_on_private_link_traffic)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of load balancer.

Returns:

  • (String)


2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2251

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,
  :customer_owned_ipv_4_pool,
  :enforce_security_group_inbound_rules_on_private_link_traffic)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_idString

The ID of the VPC for the load balancer.

Returns:

  • (String)


2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
# File 'gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2251

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,
  :customer_owned_ipv_4_pool,
  :enforce_security_group_inbound_rules_on_private_link_traffic)
  SENSITIVE = []
  include Aws::Structure
end