Skip to content

CloudFront  >  Structures  >  ContentTypeProfileConfig

ContentTypeProfileConfig

Structure Class

ContentTypeProfileConfig dataclass

Bases: _SerdeShape

The configuration for a field-level encryption content type-profile mapping.

Attributes

content_type_profiles class-attribute instance-attribute
content_type_profiles: ContentTypeProfiles | None = ...

The configuration for a field-level encryption content type-profile.

forward_when_content_type_is_unknown instance-attribute
forward_when_content_type_is_unknown: 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.