AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::SecurityHub::Types::AwsElbLoadBalancerDetails

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

Overview

Note:

When passing AwsElbLoadBalancerDetails as input to an Aws::Client method, you can use a vanilla Hash:

{
  availability_zones: ["NonEmptyString"],
  backend_server_descriptions: [
    {
      instance_port: 1,
      policy_names: ["NonEmptyString"],
    },
  ],
  canonical_hosted_zone_name: "NonEmptyString",
  canonical_hosted_zone_name_id: "NonEmptyString",
  created_time: "NonEmptyString",
  dns_name: "NonEmptyString",
  health_check: {
    healthy_threshold: 1,
    interval: 1,
    target: "NonEmptyString",
    timeout: 1,
    unhealthy_threshold: 1,
  },
  instances: [
    {
      instance_id: "NonEmptyString",
    },
  ],
  listener_descriptions: [
    {
      listener: {
        instance_port: 1,
        instance_protocol: "NonEmptyString",
        load_balancer_port: 1,
        protocol: "NonEmptyString",
        ssl_certificate_id: "NonEmptyString",
      },
      policy_names: ["NonEmptyString"],
    },
  ],
  load_balancer_attributes: {
    access_log: {
      emit_interval: 1,
      enabled: false,
      s3_bucket_name: "NonEmptyString",
      s3_bucket_prefix: "NonEmptyString",
    },
    connection_draining: {
      enabled: false,
      timeout: 1,
    },
    connection_settings: {
      idle_timeout: 1,
    },
    cross_zone_load_balancing: {
      enabled: false,
    },
  },
  load_balancer_name: "NonEmptyString",
  policies: {
    app_cookie_stickiness_policies: [
      {
        cookie_name: "NonEmptyString",
        policy_name: "NonEmptyString",
      },
    ],
    lb_cookie_stickiness_policies: [
      {
        cookie_expiration_period: 1,
        policy_name: "NonEmptyString",
      },
    ],
    other_policies: ["NonEmptyString"],
  },
  scheme: "NonEmptyString",
  security_groups: ["NonEmptyString"],
  source_security_group: {
    group_name: "NonEmptyString",
    owner_alias: "NonEmptyString",
  },
  subnets: ["NonEmptyString"],
  vpc_id: "NonEmptyString",
}

Contains details about a Classic Load Balancer.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zonesArray<String>

The list of Availability Zones for the load balancer.

Returns:

  • (Array<String>)

    The list of Availability Zones for the load balancer.

#backend_server_descriptionsArray<Types::AwsElbLoadBalancerBackendServerDescription>

Information about the configuration of the EC2 instances.

Returns:

#canonical_hosted_zone_nameString

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

Returns:

  • (String)

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

#canonical_hosted_zone_name_idString

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_timeString

Indicates when the load balancer was created.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Returns:

  • (String)

    Indicates when the load balancer was created.

#dns_nameString

The DNS name of the load balancer.

Returns:

  • (String)

    The DNS name of the load balancer.

#health_checkTypes::AwsElbLoadBalancerHealthCheck

Information about the health checks that are conducted on the load balancer.

Returns:

#instancesArray<Types::AwsElbLoadBalancerInstance>

List of EC2 instances for the load balancer.

Returns:

#listener_descriptionsArray<Types::AwsElbLoadBalancerListenerDescription>

The policies that are enabled for the load balancer listeners.

Returns:

#load_balancer_attributesTypes::AwsElbLoadBalancerAttributes

The attributes for a load balancer.

Returns:

#load_balancer_nameString

The name of the load balancer.

Returns:

  • (String)

    The name of the load balancer.

#policiesTypes::AwsElbLoadBalancerPolicies

The policies for a load balancer.

Returns:

#schemeString

The type of load balancer. Only provided if the load balancer is 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_groupsArray<String>

The security groups for the load balancer. Only provided if the load balancer is in a VPC.

Returns:

  • (Array<String>)

    The security groups for the load balancer.

#source_security_groupTypes::AwsElbLoadBalancerSourceSecurityGroup

Information about the security group for the load balancer. This is the security group that is used for inbound rules.

Returns:

#subnetsArray<String>

The list of subnet identifiers for the load balancer.

Returns:

  • (Array<String>)

    The list of subnet identifiers for the load balancer.

#vpc_idString

The identifier of the VPC for the load balancer.

Returns:

  • (String)

    The identifier of the VPC for the load balancer.