Amazon API GatewayAWS SAM defines REST APIs and HTTP APIs, connects their routes to Lambda functions, and configures features such as authorization and custom domains. Its local API emulation lets you test requests before deployment.
Amazon AthenaAWS SAM provides an Athena query policy template that grants a function permissions to run and inspect queries, with access to the specified query-results bucket.
Amazon CloudWatchAWS SAM configures CloudWatch Logs and scheduled or rule-based function triggers, and its policy templates grant permissions for publishing metrics and managing dashboards. The sam logs command retrieves logs from deployed applications.
Amazon CognitoAWS SAM configures Cognito user pools as API authorizers and connects Lambda functions to user-pool triggers. It also provides a policy template for reading user-pool information.
Amazon ComprehendAWS SAM provides a Comprehend policy template that grants a function permissions for text-analysis operations, such as detecting sentiment or entities.
Amazon Data FirehoseAWS SAM provides policy templates for writing records to a specified Firehose delivery stream or managing delivery streams.
Amazon DynamoDBAWS SAM provisions DynamoDB tables through its SimpleTable resource and configures DynamoDB Streams to invoke Lambda functions. Connectors and policy templates generate permissions for table access, stream consumption, and backup operations.
Amazon EC2AWS SAM includes policy templates that grant functions permissions to describe EC2 resources and AMIs or copy machine images. These support serverless automation that inventories instances or manages images.
Amazon Elastic Container Registry (Amazon ECR)AWS SAM builds and pushes container-image Lambda applications to ECR repositories during packaging and deployment. It can resolve or create repositories for image-based functions.
Amazon Elastic File System (Amazon EFS)AWS SAM configures EFS access-point mounts for Lambda functions through their file-system settings. Its EFS policy template grants the permissions needed to mount and access the file system.
Amazon Elastic Kubernetes Service (Amazon EKS)AWS SAM provides an EKS describe policy template that grants a function permission to retrieve information about a specified cluster.
Amazon EMRAWS SAM provides a policy template that grants a function permission to add job-flow steps to an EMR cluster, supporting serverless submission of processing jobs.
Amazon EventBridgeAWS SAM defines EventBridge rules and schedules that invoke Lambda functions or start Step Functions workflows. It also provides a policy template for publishing events to an event bus.
Amazon Kinesis Data StreamsAWS SAM configures Kinesis event-source mappings that invoke Lambda functions with stream records. Its policy templates grant read, write, or management access to specified streams.
Amazon LexAWS SAM provides a Lex policy template that grants a function permissions to interact with bots, including sending text or audio input.
Amazon Managed Streaming for Apache KafkaAWS SAM configures Amazon MSK event sources for Lambda functions, including topics and consumer settings. Its policy templates provide permissions for reading cluster information and accessing encrypted clusters.
Amazon MQAWS SAM defines Amazon MQ event-source mappings so broker messages invoke Lambda functions. Its broker-access policy template supplies permissions needed to discover the broker and access associated credentials.
Amazon OpenSearch ServiceAWS SAM includes policy templates for granting functions HTTP-operation permissions on OpenSearch Service domains, such as reading indexed documents or writing search data.
Amazon PollyAWS SAM provides a Polly policy template that grants a function access to speech-synthesis operations.
Amazon RekognitionAWS SAM provides Rekognition policy templates for detection, label analysis, and face-collection operations. These let an application grant its functions permissions appropriate to their image-analysis tasks.
Amazon Route 53AWS SAM can create Route 53 DNS records for API Gateway custom domains through its domain configuration. It also provides a policy template for functions that update records in a specified hosted zone.
Amazon S3AWS SAM uploads deployment artifacts to S3 and configures bucket notifications that invoke Lambda functions. Its connectors and policy templates generate permissions for reading and writing application objects.
Amazon SageMakerAWS SAM provides policy templates for invoking SageMaker endpoints and performing selected endpoint-management operations. For example, a function can receive permission to invoke a specified inference endpoint.
Amazon Simple Email Service (Amazon SES)AWS SAM provides SES policy templates for sending email and working with email templates, including bulk templated messages.
Amazon Simple Notification Service (Amazon SNS)AWS SAM configures SNS subscriptions that invoke Lambda functions and generates the necessary invocation permissions. Its connectors and policy templates can also grant functions permission to publish to topics.
Amazon Simple Queue Service (Amazon SQS)AWS SAM configures SQS queues as Lambda event sources, including batch handling and scaling settings. Connectors and policy templates generate permissions for consuming or sending messages.
Amazon TextractAWS SAM provides a Textract policy template that grants functions permissions to detect document text and analyze document structure.
Amazon VPCAWS SAM configures Lambda functions with VPC subnet and security-group settings. Its VPC-access policy template supplies the network-interface permissions needed for those functions to access private resources.
AWS AppSyncAWS SAM provides a GraphQLApi resource for defining AppSync GraphQL APIs, including schemas, authorization, data sources, functions, and resolvers.
AWS Certificate Manager (ACM)AWS SAM's API custom-domain configuration accepts ACM certificate ARNs to configure HTTPS domains for API Gateway APIs.
AWS Cloud9AWS Cloud9's AWS Toolkit uses AWS SAM to build, locally run, debug, and deploy serverless applications from the development environment.
AWS CloudFormationAWS SAM extends CloudFormation with a transform that expands concise serverless definitions into CloudFormation resources. CloudFormation then creates, updates, and deletes the application's stacks, and standard CloudFormation resources can coexist with SAM resources.
AWS CodeBuildAWS SAM's pipeline templates use CodeBuild to build, test, and package serverless applications. SAM build-container images provide build environments suitable for these automated jobs.
AWS CodeCommitAWS SAM can generate deployment pipelines that use a CodeCommit repository as their source. It also provides policy templates for functions that read or manage repository contents.
AWS CodeDeployAWS SAM uses CodeDeploy for gradual Lambda deployments configured through DeploymentPreference. It generates deployment resources for canary or linear traffic shifting, with optional validation hooks and alarm-based rollback.
AWS CodePipelineAWS SAM can generate CodePipeline-based CI/CD pipelines that build and deploy serverless applications through successive environments. It also provides a policy template for Lambda functions that report pipeline job success or failure.
AWS Identity and Access Management (IAM)AWS SAM creates execution roles and generates IAM policies from policy templates and connectors. This lets applications declare permissions between supported resources without hand-writing every policy statement.
AWS IoT CoreAWS SAM supports IoT rule events that create AWS IoT Core topic rules and connect matching MQTT messages to Lambda functions.
AWS Key Management Service (AWS KMS)AWS SAM configures KMS keys for supported Lambda encryption settings and provides policy templates for encrypting and decrypting application data with specified keys.
AWS LambdaAWS SAM defines Lambda functions, layers, event sources, execution permissions, aliases, and deployment settings. Its development tools build function packages or images, invoke functions locally, and synchronize code changes to deployed functions.
AWS OrganizationsAWS SAM provides an Organizations policy template that grants a function permission to list accounts, supporting serverless account-inventory automation.
AWS Resource Groups and Tag Editor
AWS SAM application templates can include a stack-based Resource Group used to group the application's resources for CloudWatch Application Insights monitoring.
AWS Secrets ManagerAWS SAM provides a policy template that grants a function permission to retrieve a specified secret. Its supported broker event-source settings can also reference Secrets Manager credentials for connecting Lambda consumers.
AWS Serverless Application RepositoryAWS SAM publishes packaged applications to the Serverless Application Repository and deploys repository applications as nested applications through its Application resource.
AWS Signer
AWS SAM can sign Lambda deployment packages and layers during packaging or deployment using specified AWS Signer profiles. Function definitions can reference a Lambda code-signing configuration to enforce signature requirements.
AWS Step FunctionsAWS SAM defines Step Functions state machines, execution roles, and event triggers through its StateMachine resource. Connectors and policy templates generate permissions for workflows to invoke resources and for functions to start executions.
AWS Systems ManagerAWS SAM provides policy templates that grant functions read access to specified Systems Manager Parameter Store parameters. Templates can also resolve Parameter Store values through CloudFormation-supported references.
AWS X-RayAWS SAM enables X-Ray tracing for Lambda functions, API Gateway REST APIs, and Step Functions workflows through resource tracing settings. For generated Lambda execution roles, it adds the permissions needed to publish trace data.