# ConnectionFunctionConfigProperty

Contains configuration information about a CloudFront function.

- Source: Generated code
- Type last changed: v2.227.0 · 21 Nov 2025

## 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 connectionFunctionConfigProperty: cloudfront.CfnConnectionFunction.ConnectionFunctionConfigProperty = {
  comment: 'comment',
  runtime: 'runtime',

  // the properties below are optional
  keyValueStoreAssociations: [{
    keyValueStoreArn: 'keyValueStoreArn',
  }],
};
```

## Properties

- `comment`: string (required) — A comment to describe the function.

- `keyValueStoreAssociations`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnectionFunction.KeyValueStoreAssociationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront.CfnConnectionFunction.KeyValueStoreAssociationProperty.html)[] — The configuration for the key value store associations.

- `runtime`: string (required) — The function's runtime environment version.
