# QueryArgProfileConfigProperty

How CloudFront handles query arguments, 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 queryArgProfileConfigProperty: cloudfront.CfnFieldLevelEncryptionConfig.QueryArgProfileConfigProperty = {
  forwardWhenQueryArgProfileIsUnknown: false,
  queryArgProfiles: [{
    profileId: 'profileId',
    queryArg: 'queryArg',
  }],
};
```

## Properties

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

- `queryArgProfiles`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFieldLevelEncryptionConfig.QueryArgProfileProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.CfnFieldLevelEncryptionConfig.QueryArgProfileProperty.html)[] (required) — The query arguments paired with a profile.

  Required because the service returns an empty list rather than preserving absence, so an omitted value cannot round-trip. An empty list is accepted and is preserved.
