AWS Fundamentals Logo
AWS Fundamentals
AWS::AppSync::FunctionConfiguration

AppSync FunctionConfiguration

An example resource schema demonstrating some basic constructs and validation rules.

Properties

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

Filter:
PropertyTypeFlags
ApiId
string
RequiredCreate-only
DataSourceName
string
Required
Name
string
Required
Code
string
CodeS3Location
string
Write-only
Description
string
FunctionVersion
string
MaxBatchSize
integer
RequestMappingTemplate
string
RequestMappingTemplateS3Location
string
Write-only
ResponseMappingTemplate
string
ResponseMappingTemplateS3Location
string
Write-only
Runtime
AppSyncRuntime
SyncConfig
SyncConfig

Return Values

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

AttributeTypeDescription
FunctionArnstringThe ARN for the function generated by the service
FunctionIdstringThe unique identifier for the function generated by the service

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::AppSync::FunctionConfiguration

Resources:
  MyResource:
    Type: AWS::AppSync::FunctionConfiguration
    Properties:
      ApiId: "my-apiid"
      DataSourceName: "my-datasourcename"
      Name: "my-name"
      Description: !Ref "AWS::StackName"

Required IAM Permissions

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

create

s3:GetObjectappsync:CreateFunction

read

appsync:GetFunction

update

s3:GetObjectappsync:UpdateFunction

delete

appsync:DeleteFunction

list

appsync:ListFunctions

Get the AppSync Cheat Sheet

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

Download Free Infographic

Quick Facts

ServiceAppSync
Properties16
Required3
TaggingNot supported
Primary IDFunctionArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

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

ApiId

External Links