Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-lightsail-loadbalancer.json
Parent schema serverless-framework-configuration
Type: object

Resource Type definition for AWS::Lightsail::LoadBalancer. Source:- https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-lightsail.git

Properties

LoadBalancerName string | Aws_CF_FunctionString required

The name of your load balancer.

InstancePort integer required

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

IpAddressType string | Aws_CF_FunctionString

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.

AttachedInstances string[]

The names of the instances attached to the load balancer.

uniqueItems=true
HealthCheckPath string | Aws_CF_FunctionString

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

SessionStickinessEnabled boolean

Configuration option to enable session stickiness.

SessionStickinessLBCookieDurationSeconds string | Aws_CF_FunctionString

Configuration option to adjust session stickiness cookie duration parameter.

TlsPolicyName string | Aws_CF_FunctionString

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

Tags Tag[]

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

uniqueItems=true

Definitions

Tag object

A key-value pair to associate with a resource.

Key string | Aws_CF_FunctionString required

The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string | Aws_CF_FunctionString

The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.