Class: Aws::CloudFront::Types::ContentTypeProfileConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb

Overview

Note:

When making an API call, you may pass ContentTypeProfileConfig data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_type_profilesTypes::ContentTypeProfiles

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



1444
1445
1446
1447
1448
1449
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 1444

class ContentTypeProfileConfig < Struct.new(
  :forward_when_content_type_is_unknown,
  :content_type_profiles)
  SENSITIVE = []
  include Aws::Structure
end

#forward_when_content_type_is_unknownBoolean

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.

Returns:

  • (Boolean)


1444
1445
1446
1447
1448
1449
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 1444

class ContentTypeProfileConfig < Struct.new(
  :forward_when_content_type_is_unknown,
  :content_type_profiles)
  SENSITIVE = []
  include Aws::Structure
end