AWS::CloudFront::OriginRequestPolicyAn origin request policy. When it's attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following: + The request body and the URL path (without the domain name) from the viewer request. + The headers that CloudFront automatically includes in every origin request, including Host, User-Agent, and X-Amz-Cf-Id. + All HTTP h...
1 configurable property. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
OriginRequestPolicyConfig | OriginRequestPolicyConfig | Required |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Id | string | - |
LastModifiedTime | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudFront::OriginRequestPolicy
Resources:
MyResource:
Type: AWS::CloudFront::OriginRequestPolicy
Properties:
OriginRequestPolicyConfig: "value"Permissions CloudFormation needs in your IAM role to manage this resource.
cloudfront:CreateOriginRequestPolicycloudfront:DeleteOriginRequestPolicycloudfront:GetOriginRequestPolicycloudfront:ListOriginRequestPoliciescloudfront:GetOriginRequestPolicycloudfront:UpdateOriginRequestPolicycloudfront:GetOriginRequestPolicyEverything you need to know about CloudFront on one page. HD quality, print-friendly.
Download Free InfographicId