Module Values.CreateOriginAccessControlRequestSource

Creates a new origin access control in CloudFront. After you create an origin access control, you can add it to an origin in a CloudFront distribution so that CloudFront sends authenticated (signed) requests to the origin. This makes it possible to block public access to the origin, allowing viewers (users) to access the origin's content only through CloudFront. For more information about using a CloudFront origin access control, see Restricting access to an Amazon Web Services origin in the Amazon CloudFront Developer Guide.

Sourcetype nonrec t = {
  1. originAccessControlConfig : OriginAccessControlConfig.t;
    (*

    Contains the origin access control.

    *)
}
Sourceval context_ : string
Sourceval make : originAccessControlConfig:OriginAccessControlConfig.t -> unit -> t
Sourceval of_header_and_body : ('a * OriginAccessControlConfig.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of String_.t ]) 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