Values.LightsailDistributionSourceDescribes an Amazon Lightsail content delivery network (CDN) distribution.
type nonrec t = {name : ResourceName.t option;The name of the distribution.
*)arn : NonEmptyString.t option;The Amazon Resource Name (ARN) of the distribution.
*)supportCode : String_.t option;The support code. Include this code in your email to support when you have questions about your Lightsail distribution. This code enables our support team to look up your Lightsail information more easily.
*)createdAt : IsoDate.t option;The timestamp when the distribution was created.
*)location : ResourceLocation.t option;An object that describes the location of the distribution, such as the Amazon Web Services Region and Availability Zone. Lightsail distributions are global resources that can reference an origin in any Amazon Web Services Region, and distribute its content globally. However, all distributions are located in the us-east-1 Region.
*)resourceType : ResourceType.t option;The Lightsail resource type (Distribution).
*)alternativeDomainNames : StringList.t option;The alternate domain names of the distribution.
*)status : String_.t option;The status of the distribution.
*)isEnabled : Boolean.t option;Indicates whether the distribution is enabled.
*)domainName : String_.t option;The domain name of the distribution.
*)bundleId : String_.t option;The ID of the bundle currently applied to the distribution.
*)certificateName : ResourceName.t option;The name of the SSL/TLS certificate attached to the distribution, if any.
*)origin : Origin.t option;An object that describes the origin resource of the distribution, such as a Lightsail instance, bucket, or load balancer. The distribution pulls, caches, and serves content from the origin.
*)originPublicDNS : String_.t option;The public DNS of the origin.
*)defaultCacheBehavior : CacheBehavior.t option;An object that describes the default cache behavior of the distribution.
*)cacheBehaviorSettings : CacheSettings.t option;An object that describes the cache behavior settings of the distribution.
*)cacheBehaviors : CacheBehaviorList.t option;An array of objects that describe the per-path cache behavior of the distribution.
*)ableToUpdateBundle : Boolean.t option;Indicates whether the bundle that is currently applied to your distribution, specified using the distributionName parameter, can be changed to another bundle. Use the UpdateDistributionBundle action to change your distribution's bundle.
*)ipAddressType : IpAddressType.t option;The IP address type of the distribution. The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
*)viewerMinimumTlsProtocolVersion : String_.t option;The minimum TLS protocol version that the distribution can use to communicate with viewers.
*)}val make :
?name:??? ->
?arn:??? ->
?supportCode:??? ->
?createdAt:??? ->
?location:??? ->
?resourceType:??? ->
?alternativeDomainNames:??? ->
?status:??? ->
?isEnabled:??? ->
?domainName:??? ->
?bundleId:??? ->
?certificateName:??? ->
?origin:??? ->
?originPublicDNS:??? ->
?defaultCacheBehavior:??? ->
?cacheBehaviorSettings:??? ->
?cacheBehaviors:??? ->
?ableToUpdateBundle:??? ->
?ipAddressType:??? ->
?tags:??? ->
?viewerMinimumTlsProtocolVersion:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `String of String_.t
| `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 String_.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of [> `Enum of string | `String of String_.t ] list ])
list ])
list
| `Timestamp of IsoDate.t ])
list ]