Posted On: Feb 9, 2023
Serverless application developers can now use the new Connectors attribute available in AWS Serverless Application Model (AWS SAM) to simplify authoring connectors and help keep SAM templates readable and maintainable over time. Previously, SAM customers could only define SAM connectors as a AWS::Serverless::Connector resource. While these resources simplified granting the appropriate level of access to the resources in their application’s infrastructure, customers also wanted to define the connections needed by a resource as part of the resource itself.
Now, SAM customers can use SAM Connectors resource attribute on a connector’s source resource to define the destination resource and permissions that should be granted between any resource type supported by SAM connectors, such as S3 buckets or StateMachines. By defining the permissions needed as part of the source resource, SAM templates are more readable and easier to update over time.
You can use the Connectors attribute today in your Serverless Application Model (SAM) template. Available in all AWS commercial regions, except China and GovCloud.
To get started, please see documentation on using the Connectors attribute in your AWS SAM template.