Skip to content

Commit 413a351

Browse files
committedJul 12, 2024··
cleanup documentation
1 parent 6b30126 commit 413a351

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed
 

‎website/docs/d/cloudfront_origin_access_control.html.markdown

+3-22
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Use this data source to retrieve information for an Amazon CloudFront origin acc
1212

1313
## Example Usage
1414

15-
The below example retrivies a CloudFront origin access control config.
15+
The below example retrieves a CloudFront origin access control config.
1616

1717
```terraform
1818
data "aws_cloudfront_origin_access_identity" "example" {
@@ -28,28 +28,9 @@ data "aws_cloudfront_origin_access_identity" "example" {
2828

2929
This data source exports the following attributes in addition to the arguments above:
3030

31-
* `id` - The unique identifier of the origin access control.
3231
* `description` - A description of the origin access control.
33-
* `etag` - Current version of the origin access control's information.
34-
For example: `E2QWRUHAPOMQZL`.
32+
* `etag` - Current version of the origin access control's information. For example: `E2QWRUHAPOMQZL`.
3533
* `name` - A name to identify the origin access control.
3634
* `origin_access_control_origin_type` - The type of origin that this origin access control is for.
37-
* `signing_behavior` - Specifies which requests CloudFront signs. See [Signing Behavior](#signing-behavior) for more information.
35+
* `signing_behavior` - Specifies which requests CloudFront signs.
3836
* `signing_protocol` - The signing protocol of the origin access control, which determines how CloudFront signs (authenticates) requests.
39-
The only valid value is `sigv4`.
40-
41-
### Signing Behavior
42-
43-
Specify always for the most common use case. For more information, see origin access control
44-
advanced settings in the Amazon CloudFront Developer Guide.
45-
46-
This field can have one of the following values:
47-
48-
* `always` – CloudFront signs all origin requests, overwriting the Authorization header from the viewer request if one exists.
49-
* `never` – CloudFront doesn't sign any origin requests. This value turns off origin access control for all origins in all
50-
distributions that use this origin access control.
51-
* `no-override` – If the viewer request doesn't contain the Authorization header, then CloudFront signs the origin request.
52-
If the viewer request contains the Authorization header, then CloudFront doesn't sign the origin request and instead passes
53-
along the Authorization header from the viewer request. WARNING: To pass along the `Authorization` header from the viewer
54-
request, you *must* add the `Authorization` header to a cache policy for all cache behaviors that use origins associated with
55-
this origin access control. See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html

0 commit comments

Comments
 (0)
Please sign in to comment.