AWS Fundamentals Logo
AWS Fundamentals
AWS::CloudFront::ConnectionFunction

CloudFront ConnectionFunction

Resource Type definition for AWS::CloudFront::ConnectionFunction

Properties

5 configurable properties. 3 required. Click a row to see details.

Filter:
PropertyTypeFlags
ConnectionFunctionCode
string
Required
ConnectionFunctionConfig
ConnectionFunctionConfig
Required
Name
string
RequiredCreate-only
AutoPublish
boolean
Write-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ConnectionFunctionArnstring-
CreatedTimestring-
ETagstring-
Idstring-
LastModifiedTimestring-
Stagestring-
Statusstring-

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudFront::ConnectionFunction

Resources:
  MyResource:
    Type: AWS::CloudFront::ConnectionFunction
    Properties:
      Name: "my-name"
      ConnectionFunctionCode: "value"
      ConnectionFunctionConfig: "value"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

cloudfront:CreateConnectionFunctioncloudfront:DescribeConnectionFunctioncloudfront:PublishConnectionFunctioncloudfront:TagResource

read

cloudfront:DescribeConnectionFunctioncloudfront:GetConnectionFunctioncloudfront:ListTagsForResource

update

cloudfront:UpdateConnectionFunctioncloudfront:DescribeConnectionFunctioncloudfront:PublishConnectionFunctioncloudfront:TagResourcecloudfront:UntagResource

delete

cloudfront:DeleteConnectionFunctioncloudfront:DescribeConnectionFunction

list

cloudfront:ListConnectionFunctions

Get the CloudFront Cheat Sheet

Everything you need to know about CloudFront on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceCloudFront
Properties12
Required3
TaggingSupported
Primary IDId

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

NameConnectionFunctionConfig/Runtime

External Links