AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.ResponseHeadersPolicyConfig

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public class ResponseHeadersPolicyConfig

The ResponseHeadersPolicyConfig type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property 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.

Public Property 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).

Public Property CustomHeadersConfig Amazon.CloudFront.Model.ResponseHeadersPolicyCustomHeadersConfig

Gets and sets the property CustomHeadersConfig.

A configuration for a set of custom HTTP response headers.

Public Property 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.

Public Property 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.

Public Property SecurityHeadersConfig Amazon.CloudFront.Model.ResponseHeadersPolicySecurityHeadersConfig

Gets and sets the property SecurityHeadersConfig.

A configuration for a set of security-related HTTP response headers.

Public Property ServerTimingHeadersConfig Amazon.CloudFront.Model.ResponseHeadersPolicyServerTimingHeadersConfig

Gets and sets the property ServerTimingHeadersConfig.

A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5