Class CfnResponseHeadersPolicy.RemoveHeadersConfigProperty
A list of HTTP header names that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResponseHeadersPolicy.RemoveHeadersConfigProperty : CfnResponseHeadersPolicy.IRemoveHeadersConfigProperty
Syntax (vb)
Public Class CfnResponseHeadersPolicy.RemoveHeadersConfigProperty Implements CfnResponseHeadersPolicy.IRemoveHeadersConfigProperty
Remarks
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 removeHeadersConfigProperty = new RemoveHeadersConfigProperty {
Items = new [] { new RemoveHeaderProperty {
Header = "header"
} }
};
Synopsis
Constructors
RemoveHeadersConfigProperty() | A list of HTTP header names that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to. |
Properties
Items | The list of HTTP header names. |
Constructors
RemoveHeadersConfigProperty()
A list of HTTP header names that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.
public RemoveHeadersConfigProperty()
Remarks
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 removeHeadersConfigProperty = new RemoveHeadersConfigProperty {
Items = new [] { new RemoveHeaderProperty {
Header = "header"
} }
};
Properties
Items
The list of HTTP header names.
public object Items { get; set; }