# AWS Serverless Application Model Developer Guide > Introduces you to AWS SAM, and shows you how to use AWS SAM to define, test, and deploy serverless applications. - [How to use AWS SAM](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/chapter-using-sam.md) - [Document history](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/doc-history.md) ## [What is AWS SAM?](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.md) - [How it works](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam-overview.md): Describes how you can use the AWS Serverless Application Model (AWS SAM) to build serverless applications. - [Serverless concepts](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-concepts.md): Overview of basic serverless concepts that you should know before using the AWS Serverless Application Model. - [Infrastructure as Code](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-iac.md): Learn how Infrastructure as Code (IaC) helps you automate the deployment and management of your AWS resources, and how AWS SAM fits within the AWS IaC ecosystem. ## [Getting started](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started.md) - [Prerequisites](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/prerequisites.md): Prerequisites required before installing the AWS SAM CLI. ### [Install the AWS SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.md) This section describes how to install the AWS SAM CLI on macOS, Windows, and Linux. - [Optional: Verify the AWS SAM CLI installer](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/reference-sam-cli-install-verify.md): Verify the integrity of the AWS SAM CLI package installer. - [Hello World Tutorial](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-hello-world.md): Learn how to use AWS SAM to deploy a basic Hello World application to the AWS Cloud. - [Converting from Lambda](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/convert-lambda-to-sam.md): Learn how to convert existing Lambda functions to AWS SAM applications. ## [AWS SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli.md) - [Configuring the AWS SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-configure.md): Configure credentials, basic settings, and project settings for the AWS SAM CLI. - [Core commands](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-corecommands.md): Use AWS SAM CLI core commands to create, build, test, deploy, and sync your serverless application.. - [Local testing with AWS SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-local-testing.md): Learn how to use the AWS SAM CLI for local testing of your serverless applications. ## [AWS SAM template](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification.md) ### [Template anatomy](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-template-anatomy.md) Learn about the format of an AWS SAM template file and how it differs from an CloudFormation template file. - [Globals](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-template-anatomy-globals.md): Learn about the Globals section of an AWS SAM template. ### [Resources and properties](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-resources-and-properties.md) This section contains details of AWS SAM resource and property types. ### [AWS::Serverless::Api](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-api.md) This section contains details of the AWS SAM resource and property type AWS::Serverless::Api. ### [ApiAuth](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-apiauth.md) This section contains ApiAuth details of the AWS SAM resource and property type AWS::Serverless::Api. - [ApiUsagePlan](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-apiusageplan.md): This section contains ApiUsagePlan details related to ApiAuth for the AWS SAM resource and property type AWS::Serverless::Api. ### [CognitoAuthorizer](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-cognitoauthorizer.md) This section contains CognitoAuthorizer details related to ApiAuth for the AWS SAM resource and property type AWS::Serverless::Api. - [CognitoAuthorizationIdentity](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-cognitoauthorizationidentity.md): This property can be used to specify an IdentitySource in an incoming request for an authorizer. ### [LambdaRequestAuthorizer](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-lambdarequestauthorizer.md) This section contains LambdaRequestAuthorizer details related to ApiAuth for the AWS SAM resource and property type AWS::Serverless::Api. - [LambdaRequestAuthorizationIdentity](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-lambdarequestauthorizationidentity.md): This property can be used to specify an IdentitySource in an incoming request for an authorizer. ### [LambdaTokenAuthorizer](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-lambdatokenauthorizer.md) This section contains LambdaTokenAuthorizer details related to ApiAuth for the AWS SAM resource and property type AWS::Serverless::Api. - [LambdaTokenAuthorizationIdentity](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-lambdatokenauthorizationidentity.md): This section contains LambdaTokenAuthorizationIdentity details related to ApiAuth for the AWS SAM resource and property type AWS::Serverless::Api. - [ResourcePolicyStatement](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-resourcepolicystatement.md): This section contains ResourcePolicyStatement details related to ApiAuth for the AWS SAM resource and property type AWS::Serverless::Api. - [ApiDefinition](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-apidefinition.md): An OpenAPI document defining the API. - [CorsConfiguration](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-corsconfiguration.md): Manage cross-origin resource sharing (CORS) for your API Gateway APIs. ### [DomainConfiguration](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-domainconfiguration.md) Configures a custom domain for an API. - [DomainAccessAssociation](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-domainaccessassociation.md): Configures domain access association for an API. - [Route53Configuration](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-route53configuration.md): Configures the Route53 record sets for an API. - [EndpointConfiguration](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-endpointconfiguration.md): The endpoint type of a REST API. ### [AWS::Serverless::Application](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-application.md) This section contains details related to the AWS SAM resource and property type AWS::Serverless::Application. - [ApplicationLocationObject](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-application-applicationlocationobject.md): This section contains ApplicationLocationObject details related to the AWS SAM resource and property type AWS::Serverless::Application. ### [AWS::Serverless::CapacityProvider](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-capacityprovider.md) This section contains details related to the AWS SAM resource and property type AWS::Serverless::CapacityProvider. - [VpcConfig](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-capacityprovider-vpcconfig.md): This section contains VpcConfig details related to the AWS SAM resource and property type AWS::Serverless::CapacityProvider. - [InstanceRequirements](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-capacityprovider-instancerequirements.md): This section contains InstanceRequirements details related to the AWS SAM resource and property type AWS::Serverless::CapacityProvider. - [ScalingConfig](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-capacityprovider-scalingconfig.md): This section contains ScalingConfig details related to the AWS SAM resource and property type AWS::Serverless::CapacityProvider. ### [AWS::Serverless::Connector](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-connector.md) This section contains details related to the AWS SAM resource and property type AWS::Serverless::Connector. - [ResourceReference](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-connector-resourcereference.md): This section contains ResourceReference details related to the AWS SAM resource and property type AWS::Serverless::Connector. - [SourceReference](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-connector-sourcereference.md): This section contains SourceReference details related to the AWS SAM resource and property type AWS::Serverless::Connector. ### [AWS::Serverless::Function](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-function.md) This section contains details related to the AWS SAM resource and property type AWS::Serverless::Function. - [DeadLetterQueue](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-deadletterqueue.md): This section contains DeadLetterQueue details related to the AWS SAM resource and property type AWS::Serverless::Function. ### [DeploymentPreference](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-deploymentpreference.md) This section contains DeploymentPreference details related to the AWS SAM resource and property type AWS::Serverless::Function. - [Hooks](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-hooks.md): This section contains Hooks details related to the AWS SAM resource and property type AWS::Serverless::Function. - [DurableConfig](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-durableconfig.md): This section contains DurableConfig details related to the AWS SAM resource and property type AWS::Serverless::Function. ### [EventInvokeConfiguration](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-eventinvokeconfiguration.md) This section contains EventInvokeConfiguration details related to the AWS SAM resource and property type AWS::Serverless::Function. ### [EventInvokeDestinationConfiguration](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-eventinvokedestinationconfiguration.md) This section contains EventInvokeDestinationConfiguration details related to the AWS SAM resource and property type AWS::Serverless::Function. - [OnFailure](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-onfailure.md): This section describes a destination for events that failed processing for EventInvokeDestinationConfiguration, which is used for the AWS SAM resource and property type AWS::Serverless::Function. - [OnSuccess](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-onsuccess.md): This section describes a destination for events that processed successfully for EventInvokeDestinationConfiguration, which is used for the AWS SAM resource and property type AWS::Serverless::Function. ### [EventSource](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-eventsource.md) This section contains EventSource details related to the AWS SAM resource and property type AWS::Serverless::Function. - [AlexaSkill](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-alexaskill.md): This section contains EventSource details related to AlexaSkill for the AWS SAM resource and property type AWS::Serverless::Function. ### [Api](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-api.md) This section contains EventSource details related to Api for the AWS SAM resource and property type AWS::Serverless::Function. ### [ApiFunctionAuth](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-apifunctionauth.md) This section contains EventSource details related to Api for the AWS SAM resource and property type AWS::Serverless::Function. - [ResourcePolicyStatement](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-resourcepolicystatement.md): This section contains EventSource details related to Api for the AWS SAM resource and property type AWS::Serverless::Function. - [RequestModel](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-requestmodel.md): This section contains EventSource details related to Api for the AWS SAM resource and property type AWS::Serverless::Function. - [RequestParameter](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-requestparameter.md): This section contains EventSource details related to Api for the AWS SAM resource and property type AWS::Serverless::Function. - [CloudWatchEvent](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-cloudwatchevent.md): This section contains CloudWatchEvent details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. - [CloudWatchLogs](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-cloudwatchlogs.md): This section contains CloudWatchLogs details related to Api for the AWS SAM resource and property type AWS::Serverless::Function. - [Cognito](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-cognito.md): This section contains Cognito details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. - [DocumentDB](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-documentdb.md): This section contains DocumentDB details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. - [DynamoDB](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-dynamodb.md): This section contains DynamoDB details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. ### [EventBridgeRule](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-eventbridgerule.md) This section contains EventBridgeRule details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. - [DeadLetterConfig](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-deadletterconfig.md): This section contains DeadLetterConfig details related to EventBridgeRule for the AWS SAM resource and property type AWS::Serverless::Function. - [Target](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-target.md): This section contains Target details related to EventBridgeRule for the AWS SAM resource and property type AWS::Serverless::Function. ### [HttpApi](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-httpapi.md) This section contains HttpApi details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. - [HttpApiFunctionAuth](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-httpapifunctionauth.md): This section contains HttpApiFunctionAuth details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. - [IoTRule](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-iotrule.md): This section contains IoTRule details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. - [Kinesis](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-kinesis.md): This section contains Kinesis details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. - [MQ](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-mq.md): This section contains MQ details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. - [MSK](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-msk.md): This section contains MSK details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. - [S3](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-s3.md): This section contains S3 details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. ### [Schedule](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-schedule.md) The object describing a Schedule event source type, which sets your serverless function as the target of an Amazon EventBridge rule that triggers on a schedule. - [DeadLetterConfig](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-scheduledeadletterconfig.md): The object used to specify the Amazon Simple Queue Service (Amazon SQS) queue where EventBridge sends events after a failed target invocation. - [ScheduleV2](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-schedulev2.md): The object describing a ScheduleV2 event source type, which sets your serverless function as the target of an Amazon EventBridge Scheduler event that triggers on a schedule. - [SelfManagedKafka](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-selfmanagedkafka.md): The object describing a SelfManagedKafka event source type. ### [SNS](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-sns.md) This section contains SNS details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. - [SqsSubscriptionObject](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-sqssubscriptionobject.md): This section contains SQS details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. - [SQS](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-sqs.md): This section contains SQS details related to EventSource for the AWS SAM resource and property type AWS::Serverless::Function. - [FunctionCode](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-functioncode.md): The deployment package for a Lambda function. - [FunctionUrlConfig](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-functionurlconfig.md): Configure a Lambda function URL using the FunctionUrlConfig property of the AWS::Serverless::Function resource in an AWS SAM template. - [CapacityProviderConfig](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-capacityproviderconfig.md): This section contains CapacityProviderConfig details related to the AWS SAM resource and property type AWS::Serverless::Function. - [FunctionScalingConfig](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-functionscalingconfig.md): This section contains FunctionScalingConfig details related to the AWS SAM resource and property type AWS::Serverless::Function. ### [AWS::Serverless::GraphQLApi](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-graphqlapi.md) This section contains details related to the AWS SAM resource and property type AWS::Serverless::GraphQLApi. - [ApiKeys](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-graphqlapi-apikeys.md): Use AWS SAM to create a unique key that can be used to perform GraphQL operations requiring an API key. ### [Auth](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-graphqlapi-auth.md) Use AWS SAM to configure authorization for your GraphQL API. - [AuthProvider](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-graphqlapi-auth-authprovider.md): Use AWS SAM to configure optional authorization configuration for your additional GraphQL API authorization types. ### [DataSource](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-graphqlapi-datasource.md) Use AWS SAM to configure a data source that your GraphQL API resolver can connect to. - [DynamoDb](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-graphqlapi-datasource-dynamodb.md): Use AWS SAM to configure an Amazon DynamoDB table as a data source for your GraphQL API resolver. - [Lambda](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-graphqlapi-datasource-lambda.md): Use AWS SAM to configure an AWS Lambda function as a data source for your GraphQL API resolver. ### [Function](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-graphqlapi-function.md) Use AWS SAM to configure functions in GraphQL APIs to perform certain operations. - [Runtime](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-graphqlapi-function-runtime.md): Use AWS SAM to configure an AWS Lambda function as a data source for your GraphQL API resolver. ### [Resolver](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-graphqlapi-resolver.md) Use AWS SAM to configure resolvers for the fields of your GraphQL API. - [Runtime](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-graphqlapi-resolver-runtime.md): Use AWS SAM to configure an AWS Lambda function as a data source for your GraphQL API resolver. ### [AWS::Serverless::HttpApi](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-httpapi.md) This section contains details related to the AWS SAM resource and property type AWS::Serverless::HttpApi. ### [HttpApiAuth](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-httpapi-httpapiauth.md) This section contains HttpApiAuth details for the AWS SAM resource and property type AWS::Serverless::HttpApi. ### [LambdaAuthorizer](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-httpapi-lambdaauthorizer.md) This section contains LambdaAuthorizer details related to HttpApiAuth for the AWS SAM resource and property type AWS::Serverless::HttpApi. - [LambdaAuthorizationIdentity](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-httpapi-lambdaauthorizationidentity.md): This section contains LambdaAuthorizationIdentity details related to HttpApiAuth for the AWS SAM resource and property type AWS::Serverless::HttpApi. - [OAuth2Authorizer](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-httpapi-oauth2authorizer.md): This section contains OAuth2Authorizer details related to HttpApiAuth for the AWS SAM resource and property type AWS::Serverless::HttpApi. - [HttpApiCorsConfiguration](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-httpapi-httpapicorsconfiguration.md): This section contains HttpApiCorsConfiguration details related to HttpApiAuth for the AWS SAM resource and property type AWS::Serverless::HttpApi. - [HttpApiDefinition](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-httpapi-httpapidefinition.md): This section contains HttpApiDefinition details related to HttpApiAuth for the AWS SAM resource and property type AWS::Serverless::HttpApi. ### [HttpApiDomainConfiguration](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-httpapi-httpapidomainconfiguration.md) Configures a custom domain for an API. - [Route53Configuration](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-httpapi-route53configuration.md): Configures the Route53 record sets for an API. ### [AWS::Serverless::WebSocketApi](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-websocketapi.md) This section contains details related to the AWS SAM resource and property type AWS::Serverless::WebSocketApi. - [WebSocketApiAuth](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-websocketapi-websocketapiauth.md): Configures authorization for a WebSocket API. ### [WebSocketApiDomainConfiguration](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-websocketapi-websocketapidomainconfiguration.md) Configures a custom domain for a WebSocket API. - [Route53Configuration](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-websocketapi-route53configuration.md): Configures the Route53 record sets for an API. - [RouteConfiguration](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-websocketapi-routeconfiguration.md): Configures a route for a WebSocket API. ### [AWS::Serverless::LayerVersion](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-layerversion.md) This section contains details related to the AWS SAM resource and property type AWS::Serverless::LayerVersion. - [LayerContent](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-layerversion-layercontent.md): This section contains LayerContent details related to the AWS SAM resource and property type AWS::Serverless::LayerVersion. ### [AWS::Serverless::SimpleTable](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-simpletable.md) This section contains details related to the AWS SAM resource and property type AWS::Serverless::SimpleTable. - [PrimaryKeyObject](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-simpletable-primarykeyobject.md): This section contains PrimaryKeyObject details related to the AWS SAM resource and property type AWS::Serverless::SimpleTable. - [ProvisionedThroughputObject](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-simpletable-provisionedthroughputobject.md): This section contains ProvisionedThroughput details related to the AWS SAM resource and property type AWS::Serverless::SimpleTable. ### [AWS::Serverless::StateMachine](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-statemachine.md) This section contains details related to the AWS SAM resource and property type AWS::Serverless::StateMachine. ### [EventSource](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-statemachine-statemachineeventsource.md) This section contains EventSource details related to the AWS SAM resource and property type AWS::Serverless::StateMachine. ### [Api](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-statemachine-statemachineapi.md) This section contains Api details related to the AWS SAM resource and property type AWS::Serverless::StateMachine. ### [ApiStateMachineAuth](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-statemachine-apistatemachineauth.md) This section contains API authorization details related to the AWS SAM resource and property type AWS::Serverless::StateMachine. - [ResourcePolicyStatement](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-statemachine-resourcepolicystatement.md): This section contains ResourcePolicyStatement details related to the AWS SAM resource and property type AWS::Serverless::StateMachine. - [CloudWatchEvent](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-statemachine-statemachinecloudwatchevent.md): This section contains CloudWatchEvent details related to the AWS SAM resource and property type AWS::Serverless::StateMachine. ### [EventBridgeRule](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-statemachine-statemachineeventbridgerule.md) This section contains EventBridgeRule details related to the AWS SAM resource and property type AWS::Serverless::StateMachine. - [DeadLetterConfig](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-statemachine-statemachinedeadletterconfig.md): This section contains DeadLetterConfig details related to EventBridgeRule for the AWS SAM resource and property type AWS::Serverless::StateMachine. - [Target](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-statemachine-statemachinetarget.md): This section contains Target details related to EventBridgeRule for the AWS SAM resource and property type AWS::Serverless::StateMachine. ### [Schedule](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-statemachine-statemachineschedule.md) This section contains Schedule details related to EventBridgeRule for the AWS SAM resource and property type AWS::Serverless::StateMachine. - [DeadLetterConfig](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-statemachine-statemachinescheduledeadletterconfig.md): This section contains DeadLetterConfig details related to EventBridgeRule for the AWS SAM resource and property type AWS::Serverless::StateMachine. - [Target](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-statemachine-statemachinescheduletarget.md): This section contains Target details related to EventBridgeRule for the AWS SAM resource and property type AWS::Serverless::StateMachine. - [ScheduleV2](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-statemachine-statemachineschedulev2.md): This section contains ScheduleV2 details related to EventBridgeRule for the AWS SAM resource and property type AWS::Serverless::StateMachine. ### [Generated resources](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-generated-resources.md) This section lists the CloudFormation resources that AWS Serverless Application Model (AWS SAM) generates when AWS SAM template files are processed. - [AWS::Serverless::Api](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-generated-resources-api.md): This section lists the CloudFormation resources that AWS Serverless Application Model (AWS SAM) generates when AWS SAM AWS::Serverless::Api is specified. - [AWS::Serverless::Application](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-generated-resources-application.md): This section lists the CloudFormation resources that AWS Serverless Application Model (AWS SAM) generates when AWS SAM AWS::Serverless::Application is specified. - [AWS::Serverless::CapacityProvider](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-generated-resources-capacityprovider.md): This section lists the CloudFormation resources that AWS Serverless Application Model (AWS SAM) generates when AWS SAM AWS::Serverless::CapacityProvider is specified. - [AWS::Serverless::Connector](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-generated-resources-connector.md): Learn which CloudFormation resources AWS SAM generates when you specify the AWS::Serverless::Connector resource in an AWS SAM template. - [AWS::Serverless::Function](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-generated-resources-function.md): This section lists the CloudFormation resources that AWS Serverless Application Model (AWS SAM) generates when AWS SAM AWS::Serverless::Function is specified. - [AWS::Serverless::GraphQLApi](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-generated-resources-graphqlapi.md): This section lists the CloudFormation resources that AWS Serverless Application Model (AWS SAM) generates when AWS SAM AWS::Serverless::GraphQLApi is specified. - [AWS::Serverless::HttpApi](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-generated-resources-httpapi.md): This section lists the CloudFormation resources that AWS Serverless Application Model (AWS SAM) generates when AWS SAM AWS::Serverless::HttpApi is specified. - [AWS::Serverless::WebSocketApi](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-generated-resources-websocketapi.md): This section lists the CloudFormation resources that AWS Serverless Application Model (AWS SAM) generates when AWS SAM AWS::Serverless::WebSocketApi is specified. - [AWS::Serverless::LayerVersion](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-generated-resources-layerversion.md): This section lists the CloudFormation resources that AWS Serverless Application Model (AWS SAM) generates when AWS SAM AWS::Serverless::LayerVersion is specified. - [AWS::Serverless::SimpleTable](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-generated-resources-simpletable.md): This section lists the CloudFormation resources that AWS Serverless Application Model (AWS SAM) generates when AWS SAM AWS::Serverless::SimpleTable is specified. - [AWS::Serverless::StateMachine](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-generated-resources-statemachine.md): This section lists the CloudFormation resources that AWS Serverless Application Model (AWS SAM) generates when AWS SAM AWS::Serverless::StateMachine is specified. - [Supported resource attributes](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-resource-attributes.md): This section contains details about the resource attributes that are supported by AWS SAM resources. - [API Gateway extensions](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-api-gateway-extensions.md): This section contains details about API Gateway extensions supported by AWS SAM. - [Intrinsic functions](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-intrinsic-functions.md): This section contains information about intrinsic functions. - [Language extensions support](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-language-extensions.md): The AWS SAM CLI supports templates that use the AWS::LanguageExtensions transform. ## [Example applications](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-example-applications.md) - [Process DynamoDB events](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-example-ddb.md): This is an example application that's configured with DynamoDB as an event source, and a Lambda function that logs data that was passed in through the event message. - [Process Amazon S3 events](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-example-s3.md): This is an example application that's configured with Amazon S3 as an event source, and a Lambda function that invokes APIs for Amazon S3, Amazon Rekognition, and DynamoDB. ## [Develop your application](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/chapter-create-application.md) - [Create your application](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-init.md): Use the AWS SAM CLI sam init command to initialize a new serverless application. ### [Define your infrastructure](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-authoring.md) Using AWS SAM, configure your infrastructure and define the resources of your application primarily with the AWS SAM template. - [Define application resources](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/authoring-define-resources.md): Define your application's resources in your AWS SAM template. ### [Set up access](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-permissions.md) Set up and manage access and permissions of your resources in your AWS SAM template ### [AWS SAM connectors](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/managing-permissions-connectors.md) Manage permissions between serverless application resources using AWS SAM connectors - [Define permissions](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/connector-usage-define.md): In AWS SAM, Read and Write permissions can be provisioned within a single connector: - [More ways to define resources](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/connector-usage-other-properties.md): For both source and destination resources, when defined within the same template, use the Id property. - [Single source multiple connectors](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/connector-usage-single-source.md): Within a source resource, you can define multiple connectors, each with a different destination resource. - [Multi-destination connectors](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/connector-usage-multi-destination.md): Within a source resource, you can define a single connector with multiple destination resources. - [Resource attributes](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/connector-usage-resource-attributes.md): Resource attributes can be defined for resources to specify additional behaviors and relationships. ### [AWS SAM policy templates](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-policy-templates.md) This section contains the full list of supported policy templates. - [Policy template list](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-policy-template-list.md): The following are the available policy templates, along with the permissions that are applied to each one. - [CloudFormation](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-permissions-cloudformation.md): Use IAM to control who can access which AWS resources in your serverless application. ### [Control API access](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-controlling-access-to-apis.md) To ensure your serverless application is secure, use the AWS SAM template to control access to API Gateway APIs. - [Lambda authorizer examples](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-controlling-access-to-apis-lambda-authorizer.md): The AWS::Serverless::Api resource type supports two types of Lambda authorizers: TOKEN authorizers and REQUEST authorizers. - [IAM permission example](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-controlling-access-to-apis-permissions.md): You can control access to your APIs by defining IAM permissions within your AWS SAM template. - [Amazon Cognito user pool example](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-controlling-access-to-apis-cognito-user-pool.md): You can control access to your APIs by defining Amazon Cognito user pools within your AWS SAM template. - [API key example](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-controlling-access-to-apis-keys.md): You can control access to your APIs by requiring API keys within your AWS SAM template. - [Resource policy example](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-controlling-access-to-apis-resource-policies.md): You can control access to your APIs by attaching a resource policy within your AWS SAM template. - [OAuth 2.0/JWT authorizer example](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-controlling-access-to-apis-oauth2-authorizer.md): You can control access to your APIs using JWTs as part of OpenID Connect (OIDC) and OAuth 2.0 frameworks. - [Customized response example](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-controlling-access-to-apis-customize-response.md): You can customize some API Gateway error responses by defining response headers within your AWS SAM template. - [Increase efficiency with layers](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-layers.md): Include layers in your serverless application, and learn how layers are downloaded and cached on your local host when running and debugging your serverless application locally. - [Reuse code](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-nested-applications.md): Use nested applications to reuse common code, functionality, resources, and configurations in separate AWS SAM templates - [Manage time-based events](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-eventbridge-scheduler.md): Schedule events in your AWS SAM templates using EventBridge Scheduler. - [Orchestrating applications](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-step-functions-in-sam.md): Learn how to use AWS Step Functions with AWS SAM to orchestrate AWS Lambda functions and other AWS resources to form complex and robust workflows. - [Set up code signing](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/authoring-codesigning.md): Use code signing with your AWS SAM application so that only trusted code is deployed. - [Validate AWS SAM template files](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-validate.md): Use the content on this page to validate AWS SAM template files. ### [Build your application](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-building.md) You can use AWS SAM to your build applications and customized versions of your applications, functions, layers, or custom runtimes. - [Intro to sam build](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-build.md): Use the AWS SAM CLI sam build command to prepare your serverless application for subsequent steps in your development workflow, such as local testing or deploying to the AWS Cloud. - [Default build](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-build.md): Use the sam build command to build an AWS SAM serverless application as a .zip file archive or a container image. ### [Customize your build](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/building-lambda-functions.md) Use the sam build command to customize your build for specific Lambda functions or layers. - [Node.js functions with esbuild](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-build-typescript.md): Use the sam build command to build an AWS SAM serverless application that uses TypeScript as a .zip file archive or a container image. - [Building .NET Native AOT functions](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/build-dotnet7.md): Building .NET applications with AWS SAM. - [Rust functions with Cargo Lambda](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/building-rust.md): Use AWS SAM to build serverless applications containing Rust Lambda functions. - [Python functions with uv](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/building-python-uv.md): Use AWS SAM to build serverless applications containing Python Lambda functions with uv as the package manager. - [Functions with custom runtimes](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/building-custom-runtimes.md): Build custom runtimes required for your Lambda function. - [Lambda layers](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/building-layers.md): Use the sam build command to build a custom layer. ## [Test your application](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-test-and-debug.md) ### [Intro to sam local](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-local.md) Use the AWS SAM CLI sam local command to test your serverless applications locally. - [Intro to sam local generate-event](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-local-generate-event.md): Use the AWS SAM CLI sam local generate-event subcommand to generate event payloads for supported AWS services. - [Intro to sam local invoke](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-local-invoke.md): Use the AWS SAM CLI sam local invoke subcommand to initiate a one-time invocation of an AWS Lambda function locally. - [Intro to sam local start-api](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-local-start-api.md): Use the AWS SAM CLIsam local start-api subcommand to run your Lambda functions locally and test through a local HTTP server host. - [Intro to sam local start-lambda](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-local-start-lambda.md): Use the AWS SAM CLI sam local start-api subcommand to run your Lambda functions locally and test through a local HTTP server host. - [Locally invoke functions](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-invoke.md): Invoke a Lambda function locally using the sam local invoke AWS SAM CLI command. - [Locally run API Gateway](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-start-api.md): Start a local instance of API Gateway using the sam local start-api AWS SAM CLI command. - [Test with sam remote test-event](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-remote-test-event.md): Use the AWS SAM CLI sam remote test-event command to access and manage shareable test events for your Lambda functions. - [Test with sam remote invoke](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-remote-invoke.md): Use the AWS SAM CLI sam remote invoke command to interact with your Lambda functions in the AWS Cloud. - [Automate integration tests](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-automated-tests.md): Test your code locally using automated integration testing. - [Generate sample payloads](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-generate-event.md): Describes how to test your Lambda functions by generating sample payloads. - [Test and debug durable functions](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/test-and-debug-durable-functions.md): Learn how to test and debug durable functions locally using AWS SAM CLI. ## [Debug your application](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/debug-application.md) - [Locally debug functions](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-debugging.md): You can use AWS SAM with a variety of AWS toolkits and debuggers to test and debug your serverless applications locally. - [Pass multiple runtime arguments](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-debugging-additional-arguments.md): You may choose to pass additional runtime arguments with AWS SAM to inspect issues and troubleshoot variables more effectively. - [Validate with cfn-lint](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/validate-cfn-lint.md): Validate your AWS SAM applications with CloudFormation Linter ## [Deploy your application and resources](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-deploying.md) - [Intro to sam deploy](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-deploy.md): Use the AWS SAM CLI sam deploy command to deploy your serverless application to the AWS Cloud. - [Deployment options](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/deploying-options.md): With AWS SAM, you deploy your serverless application manually and you can automate deployment when you use AWS SAM with a continuous integration and continuous deployment (CI/CD) system. ### [Deploy with CI/CD systems and pipelines](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/deploying-cicd-overview.md) With AWS SAM, you can automate deployment when you use AWS SAM with a continuous integration and continuous deployment (CI/CD) system. - [How AWS SAM uploads local files](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/deploy-upload-local-files.md): Use the AWS SAM CLI to automatically upload local files at deployment. ### [Generate a starter pipeline](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-generating-example-ci-cd.md) You can use AWS SAM to generate starter pipeline configuration for a number of popular CI/CD systems. - [AWS CodePipeline](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-generating-example-ci-cd-codepipeline.md): You can use AWS SAM to generate starter pipeline configuration for AWS CodePipeline - [Jenkins, GitLab CI/CD, GitHub Actions, Bitbucket Pipelines](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-generating-example-ci-cd-others.md): You can use AWS SAM to generate starter pipeline configuration for Jenkins, GitLab CI/CD, GitHub Actions, or Bitbucket Pipelines. - [Customize starter pipelines](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-customizing-starter-pipelines.md): CI/CD administrators can customize starter pipeline templates that AWS SAM uses to create starter pipeline configurations for developers. ### [Automate your deployments](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-deploying-modify-pipeline.md) You can automate the deployment of your application using pipelines, AWS SAM, and a CI/CD system. - [AWS CodePipeline](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/deploying-using-codepipeline.md): Configure your CodePipeline to deploy AWS SAM applications. - [Bitbucket Pipelines](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/deploying-using-bitbucket.md): Configure your Bitbucket Pipeline to deploy AWS SAM applications. - [Jenkins](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/deploying-using-jenkins.md): Configure your Jenkins pipeline to deploy AWS SAM applications. - [GitLab CI/CD](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/deploying-using-gitlab.md): Configure your GitLab CI/CD pipeline to deploy AWS SAM applications. - [GitHub Actions](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/deploying-using-github.md): Configure your GitHub pipeline to deploy AWS SAM applications. - [Use OIDC authentication](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/deploying-with-oidc.md): Use OpenID Connect (OIDC) with supported CI/CD platforms to set up user authentication with AWS SAM pipelines. - [Intro to sam sync](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-sam-cli-sync.md): Use the AWS SAM CLI sam sync command to sync local application changes to the AWS Cloud. ## [Monitor your application](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-monitoring.md) - [Application Insights](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/monitor-app-insights.md): Monitor your AWS SAM serverless applications with CloudWatch Application Insights. - [Working with logs](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-logging.md): Work with logs to simplify troubleshooting and keep records. ## [AWS SAM reference](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-reference.md) ### [AWS SAM CLI commands](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-command-reference.md) This section is the full AWS SAM CLI command reference. - [sam build](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-build.md): Build an AWS SAM application using the sam build command from the AWS SAM CLI. - [sam delete](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-delete.md): To delete an AWS SAM application, use the sam delete command from the AWS SAM CLI. - [sam deploy](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-deploy.md): Options for the AWS SAM CLI sam deploy command. - [sam init](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-init.md): This page provides reference information for the AWS Serverless Application Model Command Line Interface (AWS SAM CLI) sam init command. ### [sam list](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-list.md) Reference documentation for the AWS SAM CLI sam list command. - [sam list endpoints](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-list-endpoints.md): Reference documentation for the AWS SAM CLI sam list endpoints subcommand. - [sam list resources](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-list-resources.md): Reference documentation for the AWS SAM CLI sam list resources command. - [sam list stack-outputs](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-list-stack-outputs.md): Reference documentation for the AWS SAM CLI sam list stack-outputs command. ### [sam local callback](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-callback.md) Reference documentation for the AWS SAM CLI sam local callback command. - [sam local callback succeed](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-callback-succeed.md): Send a success callback to a durable function execution using the AWS Serverless Application Model Command Line Interface (AWS SAM CLI). - [sam local callback fail](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-callback-fail.md): Send a failure callback to a durable function execution using the AWS Serverless Application Model Command Line Interface (AWS SAM CLI). - [sam local callback heartbeat](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-callback-heartbeat.md): Send a heartbeat callback to a durable function execution using the AWS Serverless Application Model Command Line Interface (AWS SAM CLI). ### [sam local execution](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-execution.md) Reference documentation for the AWS SAM CLI sam local execution command. - [sam local execution get](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-execution-get.md): Get details of a durable function execution using the AWS Serverless Application Model Command Line Interface (AWS SAM CLI). - [sam local execution history](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-execution-history.md): Get execution history of a durable function execution using the AWS Serverless Application Model Command Line Interface (AWS SAM CLI). - [sam local execution stop](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-execution-stop.md): Stop a durable function execution using the AWS Serverless Application Model Command Line Interface (AWS SAM CLI). - [sam local generate-event](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-generate-event.md): Options for the AWS Serverless Application Model Command Line Interface (AWS SAM CLI) sam local generate-event subcommand. - [sam local invoke](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-invoke.md): Options for the AWS Serverless Application Model Command Line Interface (AWS SAM CLI) sam local invoke subcommand. - [sam local start-api](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-start-api.md): Options for the AWS Serverless Application Model Command Line Interface (AWS SAM CLI) sam local start-api subcommand. - [sam local start-lambda](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-local-start-lambda.md): Options for the AWS Serverless Application Model Command Line Interface (AWS SAM CLI) sam local start-lambda subcommand. - [sam logs](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-logs.md): Fetches logs that are generated by your Lambda function. - [sam package](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-package.md): To package an AWS SAM application, use the sam package command from the AWS SAM CLI. - [sam pipeline bootstrap](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-pipeline-bootstrap.md): To set up infrastructure resources needed to deploying your AWS SAM application with a CI/CD system, use the sam pipeline bootstrap command from the AWS SAM CLI. - [sam pipeline init](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-pipeline-init.md): To generate a pipeline configuration to deploy your AWS SAM application with a CI/CD system, use the sam pipeline init command from the AWS SAM CLI. - [sam publish](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-publish.md): Publish an AWS SAM application to the AWS Serverless Application Repository using the sam publish command from the AWS SAM CLI. ### [sam remote callback](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-remote-callback.md) Reference documentation for the AWS SAM CLI sam remote callback command. - [sam remote callback succeed](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-remote-callback-succeed.md): Send a callback success to a remote durable function execution using the AWS Serverless Application Model Command Line Interface (AWS SAM CLI). - [sam remote callback fail](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-remote-callback-fail.md): Send a callback failure to a remote durable function execution using the AWS Serverless Application Model Command Line Interface (AWS SAM CLI). - [sam remote callback heartbeat](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-remote-callback-heartbeat.md): Send a callback heartbeat to a remote durable function execution using the AWS Serverless Application Model Command Line Interface (AWS SAM CLI). ### [sam remote execution](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-remote-execution.md) Reference documentation for the AWS SAM CLI sam remote execution command. - [sam remote execution get](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-remote-execution-get.md): Get details of a durable execution using the AWS Serverless Application Model Command Line Interface (AWS SAM CLI). - [sam remote execution history](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-remote-execution-history.md): Get execution history of a durable function execution using the AWS Serverless Application Model Command Line Interface (AWS SAM CLI). - [sam remote execution stop](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-remote-execution-stop.md): Stop a durable function execution using the AWS Serverless Application Model Command Line Interface (AWS SAM CLI). - [sam remote invoke](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-remote-invoke.md): Options for the AWS SAM CLI sam remote invoke command. ### [sam remote test-event](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-remote-test-event.md) Reference information for the AWS SAM CLI sam remote test-event command. - [sam remote test-event delete](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-remote-test-event-delete.md): Reference information for the AWS SAM CLI sam remote test-event delete subcommand. - [sam remote test-event get](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-remote-test-event-get.md): Reference information for the AWS SAM CLI sam remote test-event get subcommand. - [sam remote test-event list](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-remote-test-event-list.md): Reference information for the AWS SAM CLI sam remote test-event list subcommand. - [sam remote test-event put](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-remote-test-event-put.md): Reference information for the AWS SAM CLI sam remote test-event put subcommand. - [sam sync](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-sync.md): To sync your local serverless application changes to the AWS Cloud, use the sam sync command from the AWS SAM CLI. - [sam traces](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-traces.md): Use the sam traces command get AWS X-Ray tracing information about your serverless application. - [sam validate](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-validate.md): Verifies whether an AWS SAM template file is valid. ### [AWS SAM CLI management](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/reference-sam-cli.md) Reference information for the AWS SAM CLI. - [AWS SAM CLI configuration file](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-config.md): Learn about the AWS SAM CLI configuration file. - [Managing AWS SAM CLI versions](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/manage-sam-cli-versions.md): This section describes how to upgrade and uninstall the AWS SAM CLI on macOS, Windows, and Linux. - [Setting up AWS credentials](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-getting-started-set-up-credentials.md): Provides instructions for setting up AWS credentials. - [AWS SAM CLI telemetry](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-telemetry.md): Learn about using telemetry in the AWS SAM CLI. - [Troubleshooting](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-troubleshooting.md): Get troubleshooting guidance for the AWS SAM CLI. - [Connector reference](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/reference-sam-connector.md): This reference provides important information regarding the AWS SAM connector resource type. - [Installing Docker](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-docker.md): Instructions about installing Docker for use with the AWS SAM CLI. - [Installing Finch](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-finch.md): Instructions about installing Finch for use with the AWS SAMCLI. - [Image repositories](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-image-repositories.md): Reference table of image repositories available for building. - [Deploying gradually](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/automating-updates-to-serverless-apps.md): Use CodeDeploy to gradually deploy your AWS SAM applications. - [Important notes](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/important-notes.md): This section includes important notes and known issues for AWS SAM. ## [Terraform support](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/terraform-support.md) - [Getting started](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/gs-terraform-support.md): Get started with Terraform support for the AWS SAM CLI. - [Using AWS SAM CLI with Terraform](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-samcli-terraform.md): Use the AWS SAM CLI with Terraform to perform local debugging and testing on your Lambda functions. - [Using AWS SAM CLI with Serverless.tf](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/using-samcli-serverlesstf.md): Using the AWS SAM CLI with Serverless.tf for local debugging and testing. ### [Terraform reference](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/terraform-reference.md) This section provides reference information for using the AWS SAM CLI with Terraform for local debugging and testing. - [sam metadata](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/terraform-sam-metadata.md): Reference documentation on the sam metadata resource when using the AWS SAM CLI with Terraform for local debugging and testing. ## [Publishing for others to use](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-publishing-applications.md) - [Metadata section properties](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-publishing-applications-metadata-properties.md): Use a metadata key to specify application information that you want published to the AWS Serverless Application Repository.