ResponseHeadersPolicySecurityHeadersConfig class
Constructors
-
ResponseHeadersPolicySecurityHeadersConfig({Input<
ResponseHeadersPolicySecurityHeadersConfigContentSecurityPolicy?> ? contentSecurityPolicy, Input<ResponseHeadersPolicySecurityHeadersConfigContentTypeOptions?> ? contentTypeOptions, Input<ResponseHeadersPolicySecurityHeadersConfigFrameOptions?> ? frameOptions, Input<ResponseHeadersPolicySecurityHeadersConfigReferrerPolicy?> ? referrerPolicy, Input<ResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurity?> ? strictTransportSecurity, Input<ResponseHeadersPolicySecurityHeadersConfigXssProtection?> ? xssProtection}) -
Creates a new ResponseHeadersPolicySecurityHeadersConfig.
contentSecurityPolicyThe policy directives and their values that CloudFront includes as values for theContent-Security-PolicyHTTP response header. See Content Security Policy for more information.contentTypeOptionsDetermines whether CloudFront includes theX-Content-Type-OptionsHTTP response header with its value set tonosniff. See Content Type Options for more information.frameOptionsDetermines whether CloudFront includes theX-Frame-OptionsHTTP response header and the header’s value. See Frame Options for more information.referrerPolicyDetermines whether CloudFront includes theReferrer-PolicyHTTP response header and the header’s value. See Referrer Policy for more information.strictTransportSecurityDetermines whether CloudFront includes theStrict-Transport-SecurityHTTP response header and the header’s value. See Strict Transport Security for more information.xssProtectionDetermine whether CloudFront includes theX-XSS-ProtectionHTTP response header and the header’s value. See XSS Protection for more information.const -
ResponseHeadersPolicySecurityHeadersConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
contentSecurityPolicy
→ Input<
ResponseHeadersPolicySecurityHeadersConfigContentSecurityPolicy?> ? -
The policy directives and their values that CloudFront includes as values for the
Content-Security-PolicyHTTP response header. See Content Security Policy for more information.final -
contentTypeOptions
→ Input<
ResponseHeadersPolicySecurityHeadersConfigContentTypeOptions?> ? -
Determines whether CloudFront includes the
X-Content-Type-OptionsHTTP response header with its value set tonosniff. See Content Type Options for more information.final -
frameOptions
→ Input<
ResponseHeadersPolicySecurityHeadersConfigFrameOptions?> ? -
Determines whether CloudFront includes the
X-Frame-OptionsHTTP response header and the header’s value. See Frame Options for more information.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
referrerPolicy
→ Input<
ResponseHeadersPolicySecurityHeadersConfigReferrerPolicy?> ? -
Determines whether CloudFront includes the
Referrer-PolicyHTTP response header and the header’s value. See Referrer Policy for more information.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
strictTransportSecurity
→ Input<
ResponseHeadersPolicySecurityHeadersConfigStrictTransportSecurity?> ? -
Determines whether CloudFront includes the
Strict-Transport-SecurityHTTP response header and the header’s value. See Strict Transport Security for more information.final -
xssProtection
→ Input<
ResponseHeadersPolicySecurityHeadersConfigXssProtection?> ? -
Determine whether CloudFront includes the
X-XSS-ProtectionHTTP response header and the header’s value. See XSS Protection for more information.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited