Difference between revisions of "Terraform resource: aws cloudfront origin access control"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
* https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_origin_access_control
+
* <code>aws_cloudfront_origin_access_control</code> https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_origin_access_control
  
  
* [[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>.
+
* <code>[[origin_access_control_origin_type]]</code> - (required) The type of origin that this Origin Access Control is for. Valid values are <code>s3</code>, and <code>[[mediastore]]</code>
 +
* <code>[[signing_behavior]]</code> - (required) Specifies which requests CloudFront signs. Specify always for the most common use case. Allowed values: always, never, and no-override.
 +
* <code>[[signing_protocol]]</code> (required) Determines how CloudFront signs (authenticates) requests. The only valid value is sigv4.
  
 
== Official example ==
 
== Official example ==
Line 14: Line 16:
  
  
 
+
== Related ==
 
 
 
* [[Terraform CloudFront]]
 
* [[Terraform CloudFront]]
 +
* [[CORS]]
  
 
== See also ==
 
== See also ==
 
* {{tf cloudfront}}
 
* {{tf cloudfront}}
 +
 +
[[Category:Terraform]]
 +
[[Category:Cloudfront]]

Latest revision as of 08:58, 20 August 2024


  • origin_access_control_origin_type - (required) The type of origin that this Origin Access Control is for. Valid values are s3, and mediastore
  • 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[edit]

resource "aws_cloudfront_origin_access_control" "example" {
  name                              = "example"
  description                       = "Example Policy"
  origin_access_control_origin_type = "s3"
  signing_behavior                  = "always"
  signing_protocol                  = "sigv4"
}


Related[edit]

See also[edit]

Advertising: