Module Values.UpdateDistributionRequestSource

Updates an existing Amazon Lightsail content delivery network (CDN) distribution. Use this action to update the configuration of your existing distribution.

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

    The name of the distribution to update. Use the GetDistributions action to get a list of distribution names that you can specify.

    *)
  2. origin : InputOrigin.t option;
    (*

    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.

    *)
  3. defaultCacheBehavior : CacheBehavior.t option;
    (*

    An object that describes the default cache behavior for the distribution.

    *)
  4. cacheBehaviorSettings : CacheSettings.t option;
    (*

    An object that describes the cache behavior settings for the distribution. The cacheBehaviorSettings specified in your UpdateDistributionRequest will replace your distribution's existing settings.

    *)
  5. cacheBehaviors : CacheBehaviorList.t option;
    (*

    An array of objects that describe the per-path cache behavior for the distribution.

    *)
  6. isEnabled : Boolean.t option;
    (*

    Indicates whether to enable the distribution.

    *)
  7. viewerMinimumTlsProtocolVersion : ViewerMinimumTlsProtocolVersionEnum.t option;
    (*

    Use this parameter to update the minimum TLS protocol version for the SSL/TLS certificate that's attached to the distribution.

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

    The name of the SSL/TLS certificate that you want to attach to the distribution. Only certificates with a status of ISSUED can be attached to a distribution. Use the GetCertificates action to get a list of certificate names that you can specify.

    *)
  9. useDefaultCertificate : Boolean.t option;
    (*

    Indicates whether the default SSL/TLS certificate is attached to the distribution. The default value is true. When true, the distribution uses the default domain name such as d111111abcdef8.cloudfront.net. Set this value to false to attach a new certificate to the distribution.

    *)
}
Sourceval context_ : string
Sourceval make : ?origin:??? -> ?defaultCacheBehavior:??? -> ?cacheBehaviorSettings:??? -> ?cacheBehaviors:??? -> ?isEnabled:??? -> ?viewerMinimumTlsProtocolVersion:??? -> ?certificateName:??? -> ?useDefaultCertificate:??? -> distributionName:ResourceName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `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 ]
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