This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::CloudFront::ConnectionFunction
A connection function.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::CloudFront::ConnectionFunction", "Properties" : { "AutoPublish" :Boolean, "ConnectionFunctionCode" :String, "ConnectionFunctionConfig" :ConnectionFunctionConfig, "Name" :String, "Tags" :[ Tag, ... ]} }
YAML
Type: AWS::CloudFront::ConnectionFunction Properties: AutoPublish:BooleanConnectionFunctionCode:StringConnectionFunctionConfig:ConnectionFunctionConfigName:StringTags:- Tag
Properties
AutoPublish-
A flag that determines whether to automatically publish the function to the
LIVEstage when it’s created. To automatically publish to theLIVEstage, set this property totrue.Required: No
Type: Boolean
Update requires: No interruption
ConnectionFunctionCode-
The code for the connection function.
Required: Yes
Type: String
Update requires: No interruption
ConnectionFunctionConfig-
Contains configuration information about a CloudFront function.
Required: Yes
Type: ConnectionFunctionConfig
Update requires: No interruption
Name-
The connection function name.
Required: Yes
Type: String
Pattern:
[a-zA-Z0-9-_]{1,64}Minimum:
1Maximum:
64Update requires: Replacement
-
A complex type that contains zero or more
Tagelements.Required: No
Type: Array of Tag
Update requires: No interruption
Return values
Ref
Fn::GetAtt
ConnectionFunctionArn-
The connection function Amazon Resource Name (ARN).
CreatedTime-
The connection function created time.
ETag-
A complex type that contains
Tagkey andTagvalue. Id-
The connection function ID.
LastModifiedTime-
The connection function last modified time.
Stage-
The connection function stage.
Status-
The connection function status.