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