AWS::CloudFront::ConnectionFunction - AWS CloudFormation

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: Boolean ConnectionFunctionCode: String ConnectionFunctionConfig: ConnectionFunctionConfig Name: String Tags: - Tag

Properties

AutoPublish

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.

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: 1

Maximum: 64

Update requires: Replacement

Tags

A complex type that contains zero or more Tag elements.

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 Tag key and Tag value.

Id

The connection function ID.

LastModifiedTime

The connection function last modified time.

Stage

The connection function stage.

Status

The connection function status.