You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudFront::Types::ContentTypeProfileConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::ContentTypeProfileConfig
- Defined in:
- (unknown)
Overview
When passing ContentTypeProfileConfig as input to an Aws::Client method, you can use a vanilla Hash:
{
forward_when_content_type_is_unknown: false, # required
content_type_profiles: {
quantity: 1, # required
items: [
{
format: "URLEncoded", # required, accepts URLEncoded
profile_id: "string",
content_type: "string", # required
},
],
},
}
The configuration for a field-level encryption content type-profile mapping.
Returned by:
Instance Attribute Summary collapse
-
#content_type_profiles ⇒ Types::ContentTypeProfiles
The configuration for a field-level encryption content type-profile.
-
#forward_when_content_type_is_unknown ⇒ Boolean
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.
Instance Attribute Details
#content_type_profiles ⇒ Types::ContentTypeProfiles
The configuration for a field-level encryption content type-profile.
#forward_when_content_type_is_unknown ⇒ Boolean
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.