Module Values.S3OriginSource

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

Sourcetype nonrec t = {
  1. domainName : String_.t;
    (*

    The DNS name of the Amazon S3 origin.

    *)
  2. originAccessIdentity : String_.t;
    (*

    The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront. If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element. To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element. To replace the origin access identity, update the distribution configuration and specify the new origin access identity. For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.

    *)
}
Sourceval context_ : string
Sourceval make : domainName:String_.t -> originAccessIdentity:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.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