Show / Hide Table of Contents

Interface CfnResponseHeadersPolicy.IFrameOptionsProperty

Determines whether CloudFront includes the X-Frame-Options HTTP response header and the header's value.

Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnResponseHeadersPolicy.IFrameOptionsProperty
Syntax (vb)
Public Interface CfnResponseHeadersPolicy.IFrameOptionsProperty
Remarks

For more information about the X-Frame-Options HTTP response header, see X-Frame-Options in the MDN Web Docs.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-frameoptions.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 frameOptionsProperty = new FrameOptionsProperty {
                 FrameOption = "frameOption",
                 Override = false
             };

Synopsis

Properties

FrameOption

The value of the X-Frame-Options HTTP response header. Valid values are DENY and SAMEORIGIN .

Override

A Boolean that determines whether CloudFront overrides the X-Frame-Options HTTP response header received from the origin with the one specified in this response headers policy.

Properties

FrameOption

The value of the X-Frame-Options HTTP response header. Valid values are DENY and SAMEORIGIN .

string FrameOption { get; }
Property Value

string

Remarks

For more information about these values, see X-Frame-Options in the MDN Web Docs.

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

Override

A Boolean that determines whether CloudFront overrides the X-Frame-Options 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-frameoptions.html#cfn-cloudfront-responseheaderspolicy-frameoptions-override

Back to top Generated by DocFX