Values.CreateDistributionRequestSourceCreates an Amazon Lightsail content delivery network (CDN) distribution. A distribution is a globally distributed network of caching servers that improve the performance of your website or web application hosted on a Lightsail instance. For more information, see Content delivery networks in Amazon Lightsail.
type nonrec t = {distributionName : ResourceName.t;The name for the distribution.
*)origin : InputOrigin.t;An object that describes the origin resource for the distribution, such as a Lightsail instance, bucket, or load balancer. The distribution pulls, caches, and serves content from the origin.
*)defaultCacheBehavior : CacheBehavior.t;An object that describes the default cache behavior for the distribution.
*)cacheBehaviorSettings : CacheSettings.t option;An object that describes the cache behavior settings for the distribution.
*)cacheBehaviors : CacheBehaviorList.t option;An array of objects that describe the per-path cache behavior for the distribution.
*)bundleId : String_.t;The bundle ID to use for the distribution. A distribution bundle describes the specifications of your distribution, such as the monthly cost and monthly network transfer quota. Use the GetDistributionBundles action to get a list of distribution bundle IDs that you can specify.
*)ipAddressType : IpAddressType.t option;The IP address type for the distribution. The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6. The default value is dualstack.
*)certificateName : ResourceName.t option;The name of the SSL/TLS certificate that you want to attach to the distribution. Use the GetCertificates action to get a list of certificate names that you can specify.
*)viewerMinimumTlsProtocolVersion : ViewerMinimumTlsProtocolVersionEnum.t option;The minimum TLS protocol version for the SSL/TLS certificate.
*)}val make :
?cacheBehaviorSettings:??? ->
?cacheBehaviors:??? ->
?ipAddressType:??? ->
?tags:??? ->
?certificateName:??? ->
?viewerMinimumTlsProtocolVersion:??? ->
distributionName:ResourceName.t ->
origin:InputOrigin.t ->
defaultCacheBehavior:CacheBehavior.t ->
bundleId:String_.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string * [> `Enum of string | `String of String_.t ]) list ]
list
| `String of ResourceName.t
| `Structure of
(string
* [> `Enum of string
| `Integer of Integer.t
| `Long of Long.t
| `String of ResourceName.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of [> `Enum of string | `String of String_.t ] list ])
list ])
list ])
list ]