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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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:



2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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,
  :enable_prefix_for_ipv_6_source_nat)
  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)


2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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

#created_timeTime

The date and time the load balancer was created.

Returns:

  • (Time)


2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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,
  :enable_prefix_for_ipv_6_source_nat)
  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)


2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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

#dns_nameString

The public DNS name of the load balancer.

Returns:

  • (String)


2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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

#enable_prefix_for_ipv_6_source_natString

[Network Load Balancers with UDP listeners] Indicates whether to use an IPv6 prefix from each subnet for source NAT. The IP address type must be ‘dualstack`. The default value is `off`.

Returns:

  • (String)


2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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,
  :enable_prefix_for_ipv_6_source_nat)
  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)


2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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

#ip_address_typeString

The type of IP addresses used for public or private connections by the subnets attached to your load balancer.

[Application Load Balancers] The possible values are ‘ipv4` (IPv4 addresses), `dualstack` (IPv4 and IPv6 addresses), and `dualstack-without-public-ipv4` (public IPv6 addresses and private IPv4 and IPv6 addresses).

[Network Load Balancers and Gateway Load Balancers] The possible values are ‘ipv4` (IPv4 addresses) and `dualstack` (IPv4 and IPv6 addresses).

Returns:

  • (String)


2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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

#load_balancer_arnString

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

Returns:

  • (String)


2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)


2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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,
  :enable_prefix_for_ipv_6_source_nat)
  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)


2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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

#security_groupsArray<String>

The IDs of the security groups for the load balancer.

Returns:

  • (Array<String>)


2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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

#stateTypes::LoadBalancerState

The state of the load balancer.



2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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

#typeString

The type of load balancer.

Returns:

  • (String)


2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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

#vpc_idString

The ID of the VPC for the load balancer.

Returns:

  • (String)


2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
# File 'lib/aws-sdk-elasticloadbalancingv2/types.rb', line 2287

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