Using Amazon SAM with the Amazon Serverless Application Repository - Amazon Serverless Application Repository
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Using Amazon SAM with the Amazon Serverless Application Repository

The Amazon Serverless Application Model (Amazon SAM) is an open-source framework that you can use to build serverless applications on Amazon. For more information about using Amazon SAM to build your serverless application, see the Amazon Serverless Application Model Developer Guide.

When building applications that will be published to the Amazon Serverless Application Repository, you must consider the set of supported Amazon Resources and Policy Templates available to use. The sections below describe these topics in more detail.

Supported Amazon Resources in the Amazon Serverless Application Repository

The Amazon Serverless Application Repository supports serverless applications that are composed of many Amazon SAM and Amazon CloudFormation resources. To see the complete list of Amazon resources that are supported by Amazon Serverless Application Repository, see List of Supported Amazon Resources.

If you want to request support for an additional Amazon resource, contact Amazon Support.

Important

If your application template contains one of the following custom IAM roles or resource policies, your application doesn't show up in search results by default. Also, customers need to acknowledge the application's custom IAM roles or resource policies before they can deploy the application. For more information, see Acknowledging Application Capabilities.

The list of resources that this applies to are:

If your application contains the AWS::Serverless::Application resource, customers need to acknowledge that the application contains a nested application before they can deploy the application. For more information about nested applications, see Nested Applications in the Amazon Serverless Application Model Developer Guide. For more information about acknowledging capabilities, see Acknowledging Application Capabilities.

Policy Templates

Amazon SAM provides you with a list of policy templates to scope the permissions of your Lambda functions to the resources that are used by your application. Using policy templates don't require additional customer acknowledgments to search, browse, or deploy the application.

For the list of standard Amazon SAM policy templates, see Amazon SAM Policy Templates in the Amazon Serverless Application Model Developer Guide.