AWS::CloudFront::ResponseHeadersPolicyA response headers policy. A response headers policy contains information about a set of HTTP response headers. After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the config...
1 configurable property. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ResponseHeadersPolicyConfig | ResponseHeadersPolicyConfig | 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::ResponseHeadersPolicy
Resources:
MyResource:
Type: AWS::CloudFront::ResponseHeadersPolicy
Properties:
ResponseHeadersPolicyConfig: "value"Permissions CloudFormation needs in your IAM role to manage this resource.
cloudfront:CreateResponseHeadersPolicycloudfront:DeleteResponseHeadersPolicycloudfront:GetResponseHeadersPolicycloudfront:ListResponseHeadersPoliciescloudfront:GetResponseHeadersPolicycloudfront:UpdateResponseHeadersPolicycloudfront:GetResponseHeadersPolicyEverything you need to know about CloudFront on one page. HD quality, print-friendly.
Download Free InfographicId