Skip to content

CloudFront  >  Dictionaries  >  ContentTypeProfileConfigDict

ContentTypeProfileConfigDict

Dictionary Type

ContentTypeProfileConfigDict

Bases: TypedDict

Dictionary form of ContentTypeProfileConfig.

Attributes

content_type_profiles instance-attribute
content_type_profiles: ContentTypeProfiles | ContentTypeProfilesDict | 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: Required[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.