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-XSS-Protection
HTTP response header
and the header's value.
For more information about the X-XSS-Protection
HTTP response header, see X-XSS-Protection
in the MDN Web Docs.
Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z
public class ResponseHeadersPolicyXSSProtection
The ResponseHeadersPolicyXSSProtection type exposes the following members
Name | Description | |
---|---|---|
ResponseHeadersPolicyXSSProtection() |
Name | Type | Description | |
---|---|---|---|
ModeBlock | System.Boolean |
Gets and sets the property ModeBlock.
A Boolean that determines whether CloudFront includes the For more information about this directive, see X-XSS-Protection in the MDN Web Docs. |
|
Override | System.Boolean |
Gets and sets the property Override.
A Boolean that determines whether CloudFront overrides the |
|
Protection | System.Boolean |
Gets and sets the property Protection.
A Boolean that determines the value of the For more information about these settings, see X-XSS-Protection in the MDN Web Docs. |
|
ReportUri | System.String |
Gets and sets the property ReportUri.
A reporting URI, which CloudFront uses as the value of the
You cannot specify a For more information about using a reporting URL, see X-XSS-Protection in the MDN Web Docs. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5