AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A 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 configuration of the response headers policy.
For more information, see Adding or removing HTTP headers in CloudFront responses in the Amazon CloudFront Developer Guide.
Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z
public class ResponseHeadersPolicy
The ResponseHeadersPolicy type exposes the following members
Name | Description | |
---|---|---|
ResponseHeadersPolicy() |
Name | Type | Description | |
---|---|---|---|
Id | System.String |
Gets and sets the property Id. The identifier for the response headers policy. |
|
LastModifiedTime | System.DateTime |
Gets and sets the property LastModifiedTime. The date and time when the response headers policy was last modified. |
|
ResponseHeadersPolicyConfig | Amazon.CloudFront.Model.ResponseHeadersPolicyConfig |
Gets and sets the property ResponseHeadersPolicyConfig. A response headers policy configuration. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5