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 Strict-Transport-Security
HTTP response
header and the header's value.
For more information about the Strict-Transport-Security
HTTP response header,
see Strict-Transport-Security
in the MDN Web Docs.
Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z
public class ResponseHeadersPolicyStrictTransportSecurity
The ResponseHeadersPolicyStrictTransportSecurity type exposes the following members
Name | Description | |
---|---|---|
ResponseHeadersPolicyStrictTransportSecurity() |
Name | Type | Description | |
---|---|---|---|
AccessControlMaxAgeSec | System.Int32 |
Gets and sets the property AccessControlMaxAgeSec.
A number that CloudFront uses as the value for the |
|
IncludeSubdomains | System.Boolean |
Gets and sets the property IncludeSubdomains.
A Boolean that determines whether CloudFront includes the |
|
Override | System.Boolean |
Gets and sets the property Override.
A Boolean that determines whether CloudFront overrides the |
|
Preload | System.Boolean |
Gets and sets the property Preload.
A Boolean that determines whether CloudFront includes the |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5