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 configuration.
A response headers policy configuration contains metadata about the response headers policy, and configurations for sets of HTTP response headers.
Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z
public class ResponseHeadersPolicyConfig
The ResponseHeadersPolicyConfig type exposes the following members
Name | Description | |
---|---|---|
ResponseHeadersPolicyConfig() |
Name | Type | Description | |
---|---|---|---|
Comment | System.String |
Gets and sets the property Comment. A comment to describe the response headers policy. The comment cannot be longer than 128 characters. |
|
CorsConfig | Amazon.CloudFront.Model.ResponseHeadersPolicyCorsConfig |
Gets and sets the property CorsConfig. A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS). |
|
CustomHeadersConfig | Amazon.CloudFront.Model.ResponseHeadersPolicyCustomHeadersConfig |
Gets and sets the property CustomHeadersConfig. A configuration for a set of custom HTTP response headers. |
|
Name | System.String |
Gets and sets the property Name. A name to identify the response headers policy. The name must be unique for response headers policies in this Amazon Web Services account. |
|
RemoveHeadersConfig | Amazon.CloudFront.Model.ResponseHeadersPolicyRemoveHeadersConfig |
Gets and sets the property RemoveHeadersConfig. A configuration for a set of HTTP headers to remove from the HTTP response. |
|
SecurityHeadersConfig | Amazon.CloudFront.Model.ResponseHeadersPolicySecurityHeadersConfig |
Gets and sets the property SecurityHeadersConfig. A configuration for a set of security-related HTTP response headers. |
|
ServerTimingHeadersConfig | Amazon.CloudFront.Model.ResponseHeadersPolicyServerTimingHeadersConfig |
Gets and sets the property ServerTimingHeadersConfig.
A configuration for enabling the |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5