Difference between revisions of "Terraform resource: aws cloudfront origin access control"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
− | * [[origin_access_control_origin_type]] - ( | + | * [[origin_access_control_origin_type]] - (required) The type of origin that this Origin Access Control is for. Valid values are <code>s3</code>, and <code>[[mediastore]]</code> |
− | * [[signing_behavior]] - ( | + | * [[signing_behavior]] - (required) Specifies which requests CloudFront signs. Specify always for the most common use case. Allowed values: always, never, and no-override. |
+ | * [[signing_protocol]] (required) Determines how CloudFront signs (authenticates) requests. The only valid value is sigv4. | ||
== Official example == | == Official example == |
Revision as of 17:35, 20 June 2023
- origin_access_control_origin_type - (required) The type of origin that this Origin Access Control is for. Valid values are
s3
, andmediastore
- signing_behavior - (required) Specifies which requests CloudFront signs. Specify always for the most common use case. Allowed values: always, never, and no-override.
- signing_protocol (required) Determines how CloudFront signs (authenticates) requests. The only valid value is sigv4.
Official example
resource "aws_cloudfront_origin_access_control" "example" { name = "example" description = "Example Policy" origin_access_control_origin_type = "s3" signing_behavior = "always" signing_protocol = "sigv4" }
See also
Advertising: