Module Values.CreateLoadBalancerRequestSource

Creates a Lightsail load balancer. To learn more about deciding whether to load balance your application, see Configure your Lightsail instances for load balancing. You can create up to 10 load balancers per AWS Region in your account. When you create a load balancer, you can specify a unique name and port settings. To change additional load balancer settings, use the UpdateLoadBalancerAttribute operation. The create load balancer operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.

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

    The name of your load balancer.

    *)
  2. instancePort : Port.t;
    (*

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

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

    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 ("/"). You may want to specify a custom health check path other than the root of your application if your home page loads slowly or has a lot of media or scripting on it.

    *)
  4. certificateName : ResourceName.t option;
    (*

    The name of the SSL/TLS certificate. If you specify certificateName, then certificateDomainName is required (and vice-versa).

    *)
  5. certificateDomainName : DomainName.t option;
    (*

    The domain name with which your certificate is associated (example.com). If you specify certificateDomainName, then certificateName is required (and vice-versa).

    *)
  6. certificateAlternativeNames : DomainNameList.t option;
    (*

    The optional alternative domains and subdomains to use with your SSL/TLS certificate (www.example.com, example.com, m.example.com, blog.example.com).

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

    The tag keys and optional values to add to the resource during create. Use the TagResource action to tag a resource after it's created.

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

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

    *)
  9. tlsPolicyName : String_.t option;
    (*

    The name of the TLS policy to apply to the load balancer. Use the GetLoadBalancerTlsPolicies action to get a list of TLS policy names that you can specify. For more information about load balancer TLS policies, see Configuring TLS security policies on your Amazon Lightsail load balancers in the Amazon Lightsail Developer Guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?healthCheckPath:??? -> ?certificateName:??? -> ?certificateDomainName:??? -> ?certificateAlternativeNames:??? -> ?tags:??? -> ?ipAddressType:??? -> ?tlsPolicyName:??? -> loadBalancerName:ResourceName.t -> instancePort:Port.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Port.t | `List of [> `String of DomainName.t | `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of ResourceName.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