Module Values.OriginSource

Describes the origin resource of an Amazon Lightsail content delivery network (CDN) distribution. An origin can be a Lightsail instance, bucket, or load balancer. A distribution pulls content from an origin, caches it, and serves it to viewers via a worldwide network of edge servers.

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

    The name of the origin resource.

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

    The resource type of the origin resource (Instance).

    *)
  3. regionName : RegionName.t option;
    (*

    The AWS Region name of the origin resource.

    *)
  4. protocolPolicy : OriginProtocolPolicyEnum.t option;
    (*

    The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

    *)
  5. responseTimeout : Integer.t option;
    (*

    The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.

    *)
  6. ipAddressType : OriginIpAddressTypeEnum.t option;
    (*

    The IP address type that the distribution uses when connecting to the origin. The possible values are ipv4 for IPv4 only, ipv6 for IPv6 only, and dualstack for IPv4 and IPv6.

    *)
}
Sourceval make : ?name:??? -> ?resourceType:??? -> ?regionName:??? -> ?protocolPolicy:??? -> ?responseTimeout:??? -> ?ipAddressType:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `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