import { _ResourceLocation, _UnmarshalledResourceLocation } from "./_ResourceLocation"; import { _Tag, _UnmarshalledTag } from "./_Tag"; import { _InstanceHealthSummary, _UnmarshalledInstanceHealthSummary } from "./_InstanceHealthSummary"; import { _LoadBalancerTlsCertificateSummary, _UnmarshalledLoadBalancerTlsCertificateSummary } from "./_LoadBalancerTlsCertificateSummary"; /** *
Describes the Lightsail load balancer.
*/ export interface _LoadBalancer { /** *The name of the load balancer (e.g., my-load-balancer).
The Amazon Resource Name (ARN) of the load balancer.
*/ arn?: string; /** *The support code. Include this code in your email to support when you have questions about your Lightsail load balancer. This code enables our support team to look up your Lightsail information more easily.
*/ supportCode?: string; /** *The date when your load balancer was created.
*/ createdAt?: Date | string | number; /** *The AWS Region where your load balancer was created (e.g., us-east-2a). Lightsail automatically creates your load balancer across Availability Zones.
The resource type (e.g., LoadBalancer.
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
*/ tags?: Array<_Tag> | Iterable<_Tag>; /** *The DNS name of your Lightsail load balancer.
*/ dnsName?: string; /** *The status of your load balancer. Valid values are below.
*/ state?: "active" | "provisioning" | "active_impaired" | "failed" | "unknown" | string; /** *The protocol you have enabled for your load balancer. Valid values are below.
You can't just have HTTP_HTTPS, but you can have just HTTP.
An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, use port 443.
*/ publicPorts?: ArrayThe path you specified to perform your health checks. If no path is specified, the load balancer tries to make a request to the default (root) page.
*/ healthCheckPath?: string; /** *The port where the load balancer will direct traffic to your Lightsail instances. For HTTP traffic, it's port 80. For HTTPS traffic, it's port 443.
*/ instancePort?: number; /** *An array of InstanceHealthSummary objects describing the health of the load balancer.
*/ instanceHealthSummary?: Array<_InstanceHealthSummary> | Iterable<_InstanceHealthSummary>; /** *An array of LoadBalancerTlsCertificateSummary objects that provide additional information about the SSL/TLS certificates. For example, if true, the certificate is attached to the load balancer.
A string to string map of the configuration options for your load balancer. Valid values are listed below.
*/ configurationOptions?: { [key in "HealthCheckPath" | "SessionStickinessEnabled" | "SessionStickiness_LB_CookieDurationSeconds" | string]: string; } | Iterable<["HealthCheckPath" | "SessionStickinessEnabled" | "SessionStickiness_LB_CookieDurationSeconds" | string, string]>; } export interface _UnmarshalledLoadBalancer extends _LoadBalancer { /** *The date when your load balancer was created.
*/ createdAt?: Date; /** *The AWS Region where your load balancer was created (e.g., us-east-2a). Lightsail automatically creates your load balancer across Availability Zones.
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
*/ tags?: Array<_UnmarshalledTag>; /** *An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, use port 443.
*/ publicPorts?: ArrayAn array of InstanceHealthSummary objects describing the health of the load balancer.
*/ instanceHealthSummary?: Array<_UnmarshalledInstanceHealthSummary>; /** *An array of LoadBalancerTlsCertificateSummary objects that provide additional information about the SSL/TLS certificates. For example, if true, the certificate is attached to the load balancer.
A string to string map of the configuration options for your load balancer. Valid values are listed below.
*/ configurationOptions?: { [key in "HealthCheckPath" | "SessionStickinessEnabled" | "SessionStickiness_LB_CookieDurationSeconds" | string]: string; }; }