CfnConnectionFunctionMixinProps

class aws_cdk.mixins_preview.aws_cloudfront.mixins.CfnConnectionFunctionMixinProps(*, auto_publish=None, connection_function_code=None, connection_function_config=None, name=None, tags=None)

Bases: object

Properties for CfnConnectionFunctionPropsMixin.

Parameters:
  • auto_publish (Union[bool, IResolvable, None]) – 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 . Default: - false

  • connection_function_code (Optional[str]) – The code for the connection function.

  • connection_function_config (Union[IResolvable, ConnectionFunctionConfigProperty, Dict[str, Any], None]) – Contains configuration information about a CloudFront function.

  • name (Optional[str]) – The connection function name.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A complex type that contains zero or more Tag elements.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_cloudfront import mixins as cloudfront_mixins

cfn_connection_function_mixin_props = cloudfront_mixins.CfnConnectionFunctionMixinProps(
    auto_publish=False,
    connection_function_code="connectionFunctionCode",
    connection_function_config=cloudfront_mixins.CfnConnectionFunctionPropsMixin.ConnectionFunctionConfigProperty(
        comment="comment",
        key_value_store_associations=[cloudfront_mixins.CfnConnectionFunctionPropsMixin.KeyValueStoreAssociationProperty(
            key_value_store_arn="keyValueStoreArn"
        )],
        runtime="runtime"
    ),
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

auto_publish

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 .

Default:
  • false

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-autopublish

connection_function_code

The code for the connection function.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-connectionfunctioncode

connection_function_config

Contains configuration information about a CloudFront function.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-connectionfunctionconfig

name

The connection function name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-name

tags

A complex type that contains zero or more Tag elements.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-connectionfunction.html#cfn-cloudfront-connectionfunction-tags