# QueryArgProfileProperty

A query argument paired with the field-level encryption profile that encrypts it.

- Source: Generated at build time
- Type last changed: v2.275.0 · 26 Oct 2026

## Example

TypeScript:

```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 queryArgProfileProperty: cloudfront.CfnFieldLevelEncryptionConfig.QueryArgProfileProperty = {
  profileId: 'profileId',
  queryArg: 'queryArg',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront

query_arg_profile_property = cloudfront.CfnFieldLevelEncryptionConfig.QueryArgProfileProperty(
    profile_id="profileId",
    query_arg="queryArg"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;

QueryArgProfileProperty queryArgProfileProperty = QueryArgProfileProperty.builder()
        .profileId("profileId")
        .queryArg("queryArg")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;

var queryArgProfileProperty = new QueryArgProfileProperty {
    ProfileId = "profileId",
    QueryArg = "queryArg"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

queryArgProfileProperty := &QueryArgProfileProperty{
	ProfileId: jsii.String("profileId"),
	QueryArg: jsii.String("queryArg"),
}
```

## Properties

- `profileId`: string (required) — The identifier of the field-level encryption profile CloudFront uses for this query argument.

- `queryArg`: string (required) — The query argument that CloudFront encrypts with the paired profile.
