Show / Hide Table of Contents

Class CfnResponseHeadersPolicy.ReferrerPolicyProperty

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header's value.

Inheritance
object
CfnResponseHeadersPolicy.ReferrerPolicyProperty
Implements
CfnResponseHeadersPolicy.IReferrerPolicyProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResponseHeadersPolicy.ReferrerPolicyProperty : CfnResponseHeadersPolicy.IReferrerPolicyProperty
Syntax (vb)
Public Class CfnResponseHeadersPolicy.ReferrerPolicyProperty Implements 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

Constructors

ReferrerPolicyProperty()

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header's value.

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:.

Constructors

ReferrerPolicyProperty()

Determines whether CloudFront includes the Referrer-Policy HTTP response header and the header's value.

public ReferrerPolicyProperty()
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"
             };

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.

public object Override { get; set; }
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:.

public string ReferrerPolicy { get; set; }
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

    Implements

    CfnResponseHeadersPolicy.IReferrerPolicyProperty
    Back to top Generated by DocFX