Show / Hide Table of Contents

Class CfnResponseHeadersPolicyPropsMixin.FrameOptionsProperty

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

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

             var frameOptionsProperty = new FrameOptionsProperty {
                 FrameOption = "frameOption",
                 Override = false
             };

Synopsis

Constructors

FrameOptionsProperty()

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

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.

Constructors

FrameOptionsProperty()

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

public FrameOptionsProperty()
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.CfnPropertyMixins.AWS.CloudFront;

             var frameOptionsProperty = new FrameOptionsProperty {
                 FrameOption = "frameOption",
                 Override = false
             };

Properties

FrameOption

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

public string? FrameOption { get; set; }
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.

public object? Override { get; set; }
Property Value

object

Remarks

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

Type union: either bool or IResolvable

Implements

CfnResponseHeadersPolicyPropsMixin.IFrameOptionsProperty
Back to top Generated by DocFX