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

Class: Aws::Lightsail::Types::CreateLoadBalancerRequest

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

Overview

Note:

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

{
  load_balancer_name: "ResourceName", # required
  instance_port: 1, # required
  health_check_path: "string",
  certificate_name: "ResourceName",
  certificate_domain_name: "DomainName",
  certificate_alternative_names: ["DomainName"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_alternative_namesArray<String>

The optional alternative domains and subdomains to use with your SSL/TLS certificate (e.g., www.example.com, example.com, m.example.com, blog.example.com).

Returns:

  • (Array<String>)

    The optional alternative domains and subdomains to use with your SSL/TLS certificate (e.g., www.example.com, example.com, m.example.com, blog.example.com).

#certificate_domain_nameString

The domain name with which your certificate is associated (e.g., example.com).

If you specify certificateDomainName, then certificateName is required (and vice-versa).

Returns:

  • (String)

    The domain name with which your certificate is associated (e.g., example.com).

#certificate_nameString

The name of the SSL/TLS certificate.

If you specify certificateName, then certificateDomainName is required (and vice-versa).

Returns:

  • (String)

    The name of the SSL/TLS certificate.

#health_check_pathString

The path you provided to perform the load balancer health check. If you didn\'t specify a health check path, Lightsail uses the root path of your website (e.g., "/").

You may want to specify a custom health check path other than the root of your application if your home page loads slowly or has a lot of media or scripting on it.

Returns:

  • (String)

    The path you provided to perform the load balancer health check.

#instance_portInteger

The instance port where you\'re creating your load balancer.

Returns:

  • (Integer)

    The instance port where you\'re creating your load balancer.

#load_balancer_nameString

The name of your load balancer.

Returns:

  • (String)

    The name of your load balancer.