Struct aws_sdk_cloudfront::model::ResponseHeadersPolicyContentSecurityPolicy [−][src]
#[non_exhaustive]pub struct ResponseHeadersPolicyContentSecurityPolicy {
pub override: Option<bool>,
pub content_security_policy: Option<String>,
}Expand description
The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.
For more information about the Content-Security-Policy HTTP response header, see Content-Security-Policy in the MDN Web Docs.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.override: Option<bool>A Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response header received from the origin with the one specified in this response headers policy.
content_security_policy: Option<String>The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.
Implementations
A Boolean that determines whether CloudFront overrides the Content-Security-Policy HTTP response header received from the origin with the one specified in this response headers policy.
The policy directives and their values that CloudFront includes as values for the Content-Security-Policy HTTP response header.
Creates a new builder-style object to manufacture ResponseHeadersPolicyContentSecurityPolicy
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
