Show / Hide Table of Contents

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 CfnResponseHeadersPolicy.IReferrerPolicyProperty
Syntax (vb)
Public Interface CfnResponseHeadersPolicy.IReferrerPolicyProperty
Remarks

For more information about the Referrer-Policy HTTP response header, see Referrer-Policy in the MDN Web Docs.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-referrerpolicy.html

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 Referrer-Policy HTTP response header received from the origin with the one specified in this response headers policy.

ReferrerPolicy

The value of the Referrer-Policy HTTP response header. Valid values are:.

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-referrerpolicy.html#cfn-cloudfront-responseheaderspolicy-referrerpolicy-override

Type union: either bool or IResolvable

ReferrerPolicy

The value of the Referrer-Policy HTTP response header. Valid values are:.

string ReferrerPolicy { get; }
Property Value

string

Remarks

    For more information about these values, see Referrer-Policy in the MDN Web Docs.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-referrerpolicy.html#cfn-cloudfront-responseheaderspolicy-referrerpolicy-referrerpolicy

    Back to top Generated by DocFX