Interface CfnResponseHeadersPolicy.IReferrerPolicyProperty
Determines whether CloudFront includes the Referrer-Policy
HTTP response header and the header's value.
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IReferrerPolicyProperty
Syntax (vb)
Public Interface IReferrerPolicyProperty
Remarks
For more information about the Referrer-Policy
HTTP response header, see Referrer-Policy in the MDN Web Docs.
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 referrerPolicyProperty = new ReferrerPolicyProperty {
Override = false,
ReferrerPolicy = "referrerPolicy"
};
Synopsis
Properties
Override | A Boolean that determines whether CloudFront overrides the |
ReferrerPolicy | The value of the |
Properties
Override
A Boolean that determines whether CloudFront overrides the Referrer-Policy
HTTP response header received from the origin with the one specified in this response headers policy.
object Override { get; }
Property Value
System.Object
Remarks
ReferrerPolicy
The value of the Referrer-Policy
HTTP response header. Valid values are:.
string ReferrerPolicy { get; }
Property Value
System.String
Remarks
For more information about these values, see Referrer-Policy in the MDN Web Docs.