AWS SAM connector reference
This section contains reference information for the AWS Serverless Application Model (AWS SAM) connector resource
type. For an introduction to connectors, see Managing resource permissions with AWS SAM connectors.
Supported source and destination resource types for connectors
The AWS::Serverless::Connector resource type supports a select number of connections between source
and destination resources. When configuring connectors in your AWS SAM template, use the following table to reference
supported connections and the properties that need to be defined for each source and destination resource type.
For more information about configuring connectors in your template, see
AWS::Serverless::Connector.
For both source and destination resources, when defined within the same template, use the Id
property. Optionally, a Qualifier can be added to narrow the scope of your defined resource. When
the resource is not within the same template, use a combination of supported properties.
To request new connections, submit a new issue at the serverless-application-model AWS GitHub
repository.
| Source type |
Destination type |
Permissions |
Source properties |
Destination properties |
AWS::ApiGateway::RestApi
|
AWS::Lambda::Function
|
Write
|
Id or Qualifier, ResourceId, and
Type
|
Id or Arn and Type
|
AWS::ApiGateway::RestApi
|
AWS::Serverless::Function
|
Write
|
Id or Qualifier, ResourceId, and
Type
|
Id or Arn and Type
|
AWS::ApiGatewayV2::Api
|
AWS::Lambda::Function
|
Write
|
Id or Qualifier, ResourceId, and
Type
|
Id or Arn and Type
|
AWS::ApiGatewayV2::Api
|
AWS::Serverless::Function
|
Write
|
Id or Qualifier, ResourceId, and
Type
|
Id or Arn and Type
|
AWS::AppSync::DataSource
|
AWS::DynamoDB::Table
|
Read
|
Id or RoleName and Type
|
Id or Arn and Type
|
AWS::AppSync::DataSource
|
AWS::DynamoDB::Table
|
Write
|
Id or RoleName and Type
|
Id or Arn and Type
|
AWS::AppSync::DataSource
|
AWS::Events::EventBus
|
Write
|
Id or RoleName and Type
|
Id or Arn and Type
|
AWS::AppSync::DataSource
|
AWS::Lambda::Function
|
Write
|
Id or RoleName and Type
|
Id or Arn and Type
|
AWS::AppSync::DataSource
|
AWS::Serverless::Function
|
Write
|
Id or RoleName and Type
|
Id or Arn and Type
|
AWS::AppSync::DataSource
|
AWS::Serverless::SimpleTable
|
Read
|
Id or RoleName and Type
|
Id or Arn and Type
|
AWS::AppSync::DataSource
|
AWS::Serverless::SimpleTable
|
Write
|
Id or RoleName and Type
|
Id or Arn and Type
|
AWS::AppSync::GraphQLApi
|
AWS::Lambda::Function
|
Write
|
Id or ResourceId and Type
|
Id or Arn and Type
|
AWS::AppSync::GraphQLApi
|
AWS::Serverless::Function
|
Write
|
Id or ResourceId and Type
|
Id or Arn and Type
|
AWS::DynamoDB::Table
|
AWS::Lambda::Function
|
Read
|
Id or Arn and Type
|
Id or RoleName and
Type
|
AWS::DynamoDB::Table
|
AWS::Serverless::Function
|
Read
|
Id or Arn and Type
|
Id or RoleName and
Type
|
AWS::Events::Rule
|
AWS::Events::EventBus
|
Write
|
Id or RoleName and
Type
|
Id or Arn and Type
|
AWS::Events::Rule
|
AWS::Lambda::Function
|
Write
|
Id or Arn and Type
|
Id or Arn and Type
|
AWS::Events::Rule
|
AWS::Serverless::Function
|
Write
|
Id or Arn and Type
|
Id or Arn and Type
|
AWS::Events::Rule
|
AWS::Serverless::StateMachine
|
Write
|
Id or RoleName and
Type
|
Id or Arn and Type
|
AWS::Events::Rule
|
AWS::SNS::Topic
|
Write
|
Id or Arn and Type
|
Id or Arn and Type
|
AWS::Events::Rule
|
AWS::SQS::Queue
|
Write
|
Id or Arn and Type
|
Id or Arn, QueueUrl, and
Type
|
AWS::Events::Rule
|
AWS::StepFunctions::StateMachine
|
Write
|
Id or RoleName and
Type
|
Id or Arn and Type
|
AWS::Lambda::Function
|
AWS::DynamoDB::Table
|
Read, Write
|
Id or RoleName and
Type
|
Id or Arn and Type
|
AWS::Lambda::Function
|
AWS::Events::EventBus
|
Write
|
Id or RoleName and
Type
|
Id or Arn and Type
|
AWS::Lambda::Function
|
AWS::Lambda::Function
|
Write
|
Id or RoleName and
Type
|
Id or Arn and Type
|
AWS::Lambda::Function
|
AWS::Location::PlaceIndex
|
Read
|
Id or RoleName and Type
|
Id or Arn and Type
|
AWS::Lambda::Function
|
AWS::S3::Bucket
|
Read, Write
|
Id or RoleName and
Type
|
Id or Arn and Type
|
AWS::Lambda::Function
|
AWS::Serverless::Function
|
Write
|
Id or RoleName and
Type
|
Id or Arn and Type
|
AWS::Lambda::Function
|
AWS::Serverless::SimpleTable
|
Read, Write
|
Id or RoleName and
Type
|
Id or Arn and Type
|
AWS::Lambda::Function
|
AWS::Serverless::StateMachine
|
Read, Write
|
Id or RoleName and
Type
|
Id or Arn, Name, and
Type
|
AWS::Lambda::Function
|
AWS::SNS::Topic
|
Write
|
Id or RoleName and
Type
|
Id or Arn and Type
|
AWS::Lambda::Function
|
AWS::SQS::Queue
|
Read, Write
|
Id or RoleName and
Type
|
Id or Arn and Type
|