Struct aws_sdk_cloudfront::model::ContentTypeProfileConfig [−][src]
#[non_exhaustive]pub struct ContentTypeProfileConfig {
pub forward_when_content_type_is_unknown: Option<bool>,
pub content_type_profiles: Option<ContentTypeProfiles>,
}
Expand description
The configuration for a field-level encryption content type-profile mapping.
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.forward_when_content_type_is_unknown: Option<bool>
The setting in a field-level encryption content type-profile mapping that specifies what to do when an unknown content type is provided for the profile. If true, content is forwarded without being encrypted when the content type is unknown. If false (the default), an error is returned when the content type is unknown.
content_type_profiles: Option<ContentTypeProfiles>
The configuration for a field-level encryption content type-profile.
Implementations
Creates a new builder-style object to manufacture ContentTypeProfileConfig
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
impl RefUnwindSafe for ContentTypeProfileConfig
impl Send for ContentTypeProfileConfig
impl Sync for ContentTypeProfileConfig
impl Unpin for ContentTypeProfileConfig
impl UnwindSafe for ContentTypeProfileConfig
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