class Aws::Lightsail::Types::CreateLoadBalancerRequest
@note When making an API call, you may pass CreateLoadBalancerRequest
data as a 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", }, ], ip_address_type: "dualstack", # accepts dualstack, ipv4 }
@!attribute [rw] load_balancer_name
The name of your load balancer. @return [String]
@!attribute [rw] instance_port
The instance port where you're creating your load balancer. @return [Integer]
@!attribute [rw] health_check_path
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. @return [String]
@!attribute [rw] certificate_name
The name of the SSL/TLS certificate. If you specify `certificateName`, then `certificateDomainName` is required (and vice-versa). @return [String]
@!attribute [rw] certificate_domain_name
The domain name with which your certificate is associated (e.g., `example.com`). If you specify `certificateDomainName`, then `certificateName` is required (and vice-versa). @return [String]
@!attribute [rw] certificate_alternative_names
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`). @return [Array<String>]
@!attribute [rw] tags
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. @return [Array<Types::Tag>]
@!attribute [rw] ip_address_type
The IP address type for the load balancer. The possible values are `ipv4` for IPv4 only, and `dualstack` for IPv4 and IPv6. The default value is `dualstack`. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerRequest AWS API Documentation
Constants
- SENSITIVE