interface CfnConnectionFunctionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins.CfnConnectionFunctionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscloudfront/mixins#CfnConnectionFunctionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.cloudfront.mixins.CfnConnectionFunctionMixinProps |
Python | aws_cdk.mixins_preview.aws_cloudfront.mixins.CfnConnectionFunctionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_cloudfront » mixins » CfnConnectionFunctionMixinProps |
Properties for CfnConnectionFunctionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cloudfront_mixins } from '@aws-cdk/mixins-preview/aws-cloudfront';
const cfnConnectionFunctionMixinProps: cloudfront_mixins.CfnConnectionFunctionMixinProps = {
autoPublish: false,
connectionFunctionCode: 'connectionFunctionCode',
connectionFunctionConfig: {
comment: 'comment',
keyValueStoreAssociations: [{
keyValueStoreArn: 'keyValueStoreArn',
}],
runtime: 'runtime',
},
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| auto | boolean | IResolvable | A flag that determines whether to automatically publish the function to the LIVE stage when it’s created. |
| connection | string | The code for the connection function. |
| connection | IResolvable | Connection | Contains configuration information about a CloudFront function. |
| name? | string | The connection function name. |
| tags? | Cfn[] | A complex type that contains zero or more Tag elements. |
autoPublish?
Type:
boolean | IResolvable
(optional, default: false)
A 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 .
connectionFunctionCode?
Type:
string
(optional)
The code for the connection function.
connectionFunctionConfig?
Type:
IResolvable | Connection
(optional)
Contains configuration information about a CloudFront function.
name?
Type:
string
(optional)
The connection function name.
tags?
Type:
Cfn[]
(optional)
A complex type that contains zero or more Tag elements.

.NET
Go
Java
Python
TypeScript