# ContentTypeProfileConfigProperty

How CloudFront handles content types, including the profile paired with each one.

- Source: Generated code
- Type last changed: v2.275.0 · 26 Oct 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const contentTypeProfileConfigProperty: cloudfront.CfnFieldLevelEncryptionConfig.ContentTypeProfileConfigProperty = {
  contentTypeProfiles: [{
    contentType: 'contentType',
    format: 'format',
    profileId: 'profileId',
  }],
  forwardWhenContentTypeIsUnknown: false,
};
```

## Properties

- `contentTypeProfiles`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFieldLevelEncryptionConfig.ContentTypeProfileProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.CfnFieldLevelEncryptionConfig.ContentTypeProfileProperty.html)[] (required) — The content types paired with a profile.

  Required, and at least one item, because the service synthesizes one default item when the list is absent or empty, so neither state round-trips.

- `forwardWhenContentTypeIsUnknown`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Whether CloudFront forwards a request when the content type names a profile that does not exist.
