Skip to content
v2.274.0

ConnectionFunctionConfigProperty Struct ​

Contains configuration information about a CloudFront function.

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 ​

commentstringcommentstrcommentStringCommentstringComment*stringrequired#
A comment to describe the function.
keyValueStoreAssociationsIResolvable | IResolvable | CfnConnectionFunction.KeyValueStoreAssociationProperty[]key_value_store_associationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, KeyValueStoreAssociationProperty]]]keyValueStoreAssociationsIResolvableKeyValueStoreAssociationsIResolvableKeyValueStoreAssociationsinterface{}#
The configuration for the key value store associations.
runtimestringruntimestrruntimeStringRuntimestringRuntime*stringrequired#
The function's runtime environment version.