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:
objectProperties for CfnConnectionFunctionPropsMixin.
- Parameters:
auto_publish (
Union[bool,IResolvable,None]) – A flag that determines whether to automatically publish the function to theLIVEstage when it’s created. To automatically publish to theLIVEstage, set this property totrue. Default: - falseconnection_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 moreTagelements.
- See:
- 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
LIVEstage when it’s created.To automatically publish to the
LIVEstage, set this property totrue.
- connection_function_code
The code for the connection function.
- connection_function_config
Contains configuration information about a CloudFront function.
- name
The connection function name.
- tags
A complex type that contains zero or more
Tagelements.