aws::origin-access-control

Create a Origin Access Control.

Example

aws::origin-access-control origin-access-control-example
    config
        name: "example-oac"
        origin-type: S3
        description: "example description"
        signing-behavior: NEVER
        signing-protocol: SIGV4
    end
end

Attributes

Attribute Description
config subresource

The configuration for the Origin Access Control (OAC). (Required)

name
The name of the Origin Access Control (OAC). (Required)
description
The description of the Origin Access Control (OAC). (Required)
origin-type
The type of origin this Origin Access Control (OAC) is valid for. Currently the only supported value is S3. (Required)
signing-behavior
The behaviour of the Origin Access Control (OAC) that determine which requests Cloudfront signs. Valid values are NEVER, ALWAYS or NO_OVERRIDE. (Required)
signing-protocol
The signing protocol of the Origin Access Control (OAC) that determines how the Cloudfront signs requests. Currently the only supported value is SIGV4. (Required)

Outputs

Attribute Description
id The ID of the Origin Access Control (OAC).
e-tag The current version (ETag value) of the Origin Access Control (OAC).