interface CfnConnectionFunctionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudFront.CfnConnectionFunctionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnConnectionFunctionProps |
Java | software.amazon.awscdk.services.cloudfront.CfnConnectionFunctionProps |
Python | aws_cdk.aws_cloudfront.CfnConnectionFunctionProps |
TypeScript | aws-cdk-lib » aws_cloudfront » CfnConnectionFunctionProps |
Properties for defining a CfnConnectionFunction.
Example
// 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 cfnConnectionFunctionProps: cloudfront.CfnConnectionFunctionProps = {
connectionFunctionCode: 'connectionFunctionCode',
connectionFunctionConfig: {
comment: 'comment',
runtime: 'runtime',
// the properties below are optional
keyValueStoreAssociations: [{
keyValueStoreArn: 'keyValueStoreArn',
}],
},
name: 'name',
// the properties below are optional
autoPublish: false,
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| connection | string | |
| connection | IResolvable | Connection | |
| name | string | |
| auto | boolean | IResolvable | |
| tags? | Cfn[] |
connectionFunctionCode
Type:
string
connectionFunctionConfig
Type:
IResolvable | Connection
name
Type:
string
autoPublish?
Type:
boolean | IResolvable
(optional, default: false)
tags?
Type:
Cfn[]
(optional)

.NET
Go
Java
Python
TypeScript