LoadBalancer

public struct LoadBalancer : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • arn

    The Amazon Resource Name (ARN) of the load balancer.

    Declaration

    Swift

    public let arn: String?
  • A string to string map of the configuration options for your load balancer. Valid values are listed below.

    Declaration

    Swift

    public let configurationOptions: [LoadBalancerAttributeName : String]?
  • The date when your load balancer was created.

    Declaration

    Swift

    public let createdAt: TimeStamp?
  • The DNS name of your Lightsail load balancer.

    Declaration

    Swift

    public let dnsName: String?
  • The 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.

    Declaration

    Swift

    public let healthCheckPath: String?
  • An array of InstanceHealthSummary objects describing the health of the load balancer.

    Declaration

    Swift

    public let instanceHealthSummary: [InstanceHealthSummary]?
  • 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.

    Declaration

    Swift

    public let instancePort: Int?
  • The AWS Region where your load balancer was created (e.g., us-east-2a). Lightsail automatically creates your load balancer across Availability Zones.

    Declaration

    Swift

    public let location: ResourceLocation?
  • The name of the load balancer (e.g., my-load-balancer).

    Declaration

    Swift

    public let name: 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.

    Declaration

    Swift

    public let `protocol`: LoadBalancerProtocol?
  • An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, use port 443.

    Declaration

    Swift

    public let publicPorts: [Int]?
  • The resource type (e.g., LoadBalancer.

    Declaration

    Swift

    public let resourceType: ResourceType?
  • The status of your load balancer. Valid values are below.

    Declaration

    Swift

    public let state: LoadBalancerState?
  • 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.

    Declaration

    Swift

    public let supportCode: String?
  • The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.

    Declaration

    Swift

    public let tags: [Tag]?
  • 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.

    Declaration

    Swift

    public let tlsCertificateSummaries: [LoadBalancerTlsCertificateSummary]?
  • Undocumented

    Declaration

    Swift

    public init(arn: String? = nil, configurationOptions: [LoadBalancerAttributeName : String]? = nil, createdAt: TimeStamp? = nil, dnsName: String? = nil, healthCheckPath: String? = nil, instanceHealthSummary: [InstanceHealthSummary]? = nil, instancePort: Int? = nil, location: ResourceLocation? = nil, name: String? = nil, protocol: LoadBalancerProtocol? = nil, publicPorts: [Int]? = nil, resourceType: ResourceType? = nil, state: LoadBalancerState? = nil, supportCode: String? = nil, tags: [Tag]? = nil, tlsCertificateSummaries: [LoadBalancerTlsCertificateSummary]? = nil)