AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Inheritance Hierarchy

System.Object
  Amazon.CloudFront.Model.ResponseHeadersPolicyFrameOptions

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public class ResponseHeadersPolicyFrameOptions

The ResponseHeadersPolicyFrameOptions type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property FrameOption Amazon.CloudFront.FrameOptionsList

Gets and sets the property FrameOption.

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

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

Public Property Override System.Boolean

Gets and sets the property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5