#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for ResponseHeadersPolicyConfig
Implementations
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
A name to identify the response headers policy.
The name must be unique for response headers policies in this Amazon Web Services account.
A name to identify the response headers policy.
The name must be unique for response headers policies in this Amazon Web Services account.
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
pub fn security_headers_config(
self,
input: ResponseHeadersPolicySecurityHeadersConfig
) -> Self
pub fn security_headers_config(
self,
input: ResponseHeadersPolicySecurityHeadersConfig
) -> Self
A configuration for a set of security-related HTTP response headers.
pub fn set_security_headers_config(
self,
input: Option<ResponseHeadersPolicySecurityHeadersConfig>
) -> Self
pub fn set_security_headers_config(
self,
input: Option<ResponseHeadersPolicySecurityHeadersConfig>
) -> Self
A configuration for a set of security-related HTTP response headers.
A configuration for a set of custom HTTP response headers.
pub fn set_custom_headers_config(
self,
input: Option<ResponseHeadersPolicyCustomHeadersConfig>
) -> Self
pub fn set_custom_headers_config(
self,
input: Option<ResponseHeadersPolicyCustomHeadersConfig>
) -> Self
A configuration for a set of custom HTTP response headers.
Consumes the builder and constructs a ResponseHeadersPolicyConfig
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
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