LoadBalancerArgs

data class LoadBalancerArgs(val attachedInstances: Output<List<String>>? = null, val healthCheckPath: Output<String>? = null, val instancePort: Output<Int>? = null, val ipAddressType: Output<String>? = null, val loadBalancerName: Output<String>? = null, val sessionStickinessEnabled: Output<Boolean>? = null, val sessionStickinessLbCookieDurationSeconds: Output<String>? = null, val tags: Output<List<TagArgs>>? = null, val tlsPolicyName: Output<String>? = null) : ConvertibleToJava<LoadBalancerArgs>

Resource Type definition for AWS::Lightsail::LoadBalancer

Constructors

Link copied to clipboard
constructor(attachedInstances: Output<List<String>>? = null, healthCheckPath: Output<String>? = null, instancePort: Output<Int>? = null, ipAddressType: Output<String>? = null, loadBalancerName: Output<String>? = null, sessionStickinessEnabled: Output<Boolean>? = null, sessionStickinessLbCookieDurationSeconds: Output<String>? = null, tags: Output<List<TagArgs>>? = null, tlsPolicyName: Output<String>? = null)

Properties

Link copied to clipboard
val attachedInstances: Output<List<String>>? = null

The names of the instances attached to the load balancer.

Link copied to clipboard
val healthCheckPath: Output<String>? = null

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., "/").

Link copied to clipboard
val instancePort: Output<Int>? = null

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

Link copied to clipboard
val ipAddressType: Output<String>? = null

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.

Link copied to clipboard
val loadBalancerName: Output<String>? = null

The name of your load balancer.

Link copied to clipboard
val sessionStickinessEnabled: Output<Boolean>? = null

Configuration option to enable session stickiness.

Link copied to clipboard

Configuration option to adjust session stickiness cookie duration parameter.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

An array of key-value pairs to apply to this resource.

Link copied to clipboard
val tlsPolicyName: Output<String>? = null

The name of the TLS policy to apply to the load balancer.

Functions

Link copied to clipboard
open override fun toJava(): LoadBalancerArgs