Class CfnResponseHeadersPolicy.CustomHeadersConfigProperty
A list of HTTP response header names and their values.
Inheritance
System.Object
CfnResponseHeadersPolicy.CustomHeadersConfigProperty
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CustomHeadersConfigProperty : Object, CfnResponseHeadersPolicy.ICustomHeadersConfigProperty
Syntax (vb)
Public Class CustomHeadersConfigProperty
Inherits Object
Implements CfnResponseHeadersPolicy.ICustomHeadersConfigProperty
Remarks
CloudFront includes these headers in HTTP responses that it sends for requests that match a cache behavior that's associated with this response headers policy.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var customHeadersConfigProperty = new CustomHeadersConfigProperty {
Items = new [] { new CustomHeaderProperty {
Header = "header",
Override = false,
Value = "value"
} }
};
Synopsis
Constructors
CustomHeadersConfigProperty() |
Properties
Items | The list of HTTP response headers and their values. |
Constructors
CustomHeadersConfigProperty()
public CustomHeadersConfigProperty()
Properties
Items
The list of HTTP response headers and their values.
public object Items { get; set; }
Property Value
System.Object