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
- Struct
- Aws::Lightsail::Types::CreateLoadBalancerRequest
- Defined in:
- (unknown)
Overview
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"],
tags: [
{
key: "TagKey",
value: "TagValue",
},
],
}
Instance Attribute Summary collapse
-
#certificate_alternative_names ⇒ 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_name ⇒ String
The domain name with which your certificate is associated (e.g.,
example.com). -
#certificate_name ⇒ String
The name of the SSL/TLS certificate.
-
#health_check_path ⇒ String
The path you provided to perform the load balancer health check.
-
#instance_port ⇒ Integer
The instance port where you\'re creating your load balancer.
-
#load_balancer_name ⇒ String
The name of your load balancer.
-
#tags ⇒ Array<Types::Tag>
The tag keys and optional values to add to the resource during create.
Instance Attribute Details
#certificate_alternative_names ⇒ 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_name ⇒ String
The domain name with which your certificate is associated (e.g.,
example.com).
If you specify certificateDomainName, then certificateName is
required (and vice-versa).
#certificate_name ⇒ String
The name of the SSL/TLS certificate.
If you specify certificateName, then certificateDomainName is
required (and vice-versa).
#health_check_path ⇒ String
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.
#instance_port ⇒ Integer
The instance port where you\'re creating your load balancer.
#load_balancer_name ⇒ String
The name of your load balancer.
#tags ⇒ Array<Types::Tag>
The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it\'s created.