Module Values.LoadBalancerSource

Describes a load balancer.

Sourcetype nonrec t = {
  1. name : ResourceName.t option;
    (*

    The name of the load balancer (my-load-balancer).

    *)
  2. arn : NonEmptyString.t option;
    (*

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

    *)
  3. supportCode : String_.t option;
    (*

    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.

    *)
  4. createdAt : IsoDate.t option;
    (*

    The date when your load balancer was created.

    *)
  5. location : ResourceLocation.t option;
    (*

    The AWS Region where your load balancer was created (us-east-2a). Lightsail automatically creates your load balancer across Availability Zones.

    *)
  6. resourceType : ResourceType.t option;
    (*

    The resource type (LoadBalancer.

    *)
  7. tags : TagList.t option;
    (*

    The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

    *)
  8. dnsName : NonEmptyString.t option;
    (*

    The DNS name of your Lightsail load balancer.

    *)
  9. state : LoadBalancerState.t option;
    (*

    The status of your load balancer. Valid values are below.

    *)
  10. protocol : LoadBalancerProtocol.t option;
    (*

    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.

    *)
  11. publicPorts : PortList.t option;
    (*

    An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, use port 443.

    *)
  12. healthCheckPath : NonEmptyString.t option;
    (*

    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.

    *)
  13. instancePort : Integer.t option;
    (*

    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.

    *)
  14. instanceHealthSummary : InstanceHealthSummaryList.t option;
    (*

    An array of InstanceHealthSummary objects describing the health of the load balancer.

    *)
  15. tlsCertificateSummaries : LoadBalancerTlsCertificateSummaryList.t option;
    (*

    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.

    *)
  16. configurationOptions : LoadBalancerConfigurationOptions.t option;
    (*

    A string to string map of the configuration options for your load balancer. Valid values are listed below.

    *)
  17. ipAddressType : IpAddressType.t option;
    (*

    The IP address type of the load balancer. The possible values are ipv4 for IPv4 only, ipv6 for IPv6 only, and dualstack for IPv4 and IPv6.

    *)
  18. httpsRedirectionEnabled : Boolean.t option;
    (*

    A Boolean value that indicates whether HTTPS redirection is enabled for the load balancer.

    *)
  19. tlsPolicyName : ResourceName.t option;
    (*

    The name of the TLS security policy for the load balancer.

    *)
}
Sourceval make : ?name:??? -> ?arn:??? -> ?supportCode:??? -> ?createdAt:??? -> ?location:??? -> ?resourceType:??? -> ?tags:??? -> ?dnsName:??? -> ?state:??? -> ?protocol:??? -> ?publicPorts:??? -> ?healthCheckPath:??? -> ?instancePort:??? -> ?instanceHealthSummary:??? -> ?tlsCertificateSummaries:??? -> ?configurationOptions:??? -> ?ipAddressType:??? -> ?httpsRedirectionEnabled:??? -> ?tlsPolicyName:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `Integer of Port.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of TagKey.t ]) list ] list | `Map of ([> `Enum of string ] * [> `String of String_.t ]) list | `String of ResourceName.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list | `Timestamp of IsoDate.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t