CfnConnectionFunctionProps
- class aws_cdk.aws_cloudfront.CfnConnectionFunctionProps(*, connection_function_code, connection_function_config, name, auto_publish=None, tags=None)
Bases:
objectProperties for defining a
CfnConnectionFunction.- Parameters:
connection_function_code (
str)connection_function_config (
Union[IResolvable,ConnectionFunctionConfigProperty,Dict[str,Any]])name (
str)auto_publish (
Union[bool,IResolvable,None]) – Default: - falsetags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]])
- 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 import aws_cloudfront as cloudfront cfn_connection_function_props = cloudfront.CfnConnectionFunctionProps( connection_function_code="connectionFunctionCode", connection_function_config=cloudfront.CfnConnectionFunction.ConnectionFunctionConfigProperty( comment="comment", runtime="runtime", # the properties below are optional key_value_store_associations=[cloudfront.CfnConnectionFunction.KeyValueStoreAssociationProperty( key_value_store_arn="keyValueStoreArn" )] ), name="name", # the properties below are optional auto_publish=False, tags=[CfnTag( key="key", value="value" )] )
Attributes
- auto_publish
false
- connection_function_code
-
- Type:
see
- connection_function_config
-
- Type:
see
- name
-
- Type:
see