AWS::CloudFront::ConnectionFunctionA connection function.
import { CfnConnectionFunction } from 'aws-cdk-lib/aws-cloudfront';Or use the module namespace:
import * as cloudfront from 'aws-cdk-lib/aws-cloudfront';
// cloudfront.CfnConnectionFunctionConfiguration passed to the constructor as CfnConnectionFunctionProps.
connectionFunctionCodeRequiredstringThe code for the connection function.
connectionFunctionConfigRequiredIResolvable | ConnectionFunctionConfigPropertyContains configuration information about a CloudFront function.
nameRequiredstringThe connection function name.
autoPublishOptionalboolean | IResolvableA flag that determines whether to automatically publish the function to the `LIVE` stage when it’s created. To automatically publish to the `LIVE` stage, set this property to `true` .
Default: - false
tagsOptionalCfnTag[]A complex type that contains zero or more `Tag` elements.
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon CloudFront on one page. HD quality, print-friendly.
Download Free Infographicaws-cloudfrontAWS::CloudFront::ConnectionFunction