serverless-application-model

AWS Serverless Application Model (SAM) is an open-source framework for building serverless applications [Moved to: https://github.com/aws/serverless-application-model] (by awslabs)

Serverless-application-model Alternatives

Similar projects and alternatives to serverless-application-model

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better serverless-application-model alternative or higher similarity.

serverless-application-model reviews and mentions

Posts with mentions or reviews of serverless-application-model. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-19.
  • Streamline AWS Development with CI/CD, SAM, and GitHub Actions
    2 projects | dev.to | 19 May 2023
    Resources: HelloWorldFunction: Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Properties: CodeUri: hello_world/ Handler: app.lambda_handler Runtime: python3.9 Architectures: - x86_64 Events: HelloWorld: Type: Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api Properties: Path: /hello Method: get
  • AWS Prefix Lists for the Organization
    4 projects | dev.to | 7 Mar 2023
    Parameters: AppConfigAppName: Type: String Description: AppConfig Application Name Default: aws-ip-ranges AppConfigAppEnvironmentName: Type: String Description: AppConfig Application Environment Name Default: dev AppConfigName: Type: String Description: AppConfig Name Default: services AppConfigLayerArn: Type: String Description: Retrieve AWS AppConfig Lambda extension arn from `https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-integration-lambda-extensions-versions.html#appconfig-integration-lambda-extensions-enabling-x86-64` Default: arn:aws:lambda:ap-southeast-2:080788657173:layer:AWS-AppConfig-Extension:91 AwsOrgArn: Type: String Description: The ARN of the AWS Organization used to share Prefix Lists Default: notset Resources: SAMConfigApplication: Type: AWS::AppConfig::Application Properties: Name: !Ref AppConfigAppName Environment: Type: AWS::AppConfig::Environment Properties: Name: !Ref AppConfigAppEnvironmentName ApplicationId: !Ref SAMConfigApplication SAMConfigConfigurationProfile: Type: AWS::AppConfig::ConfigurationProfile Properties: ApplicationId: !Ref SAMConfigApplication Name: !Ref AppConfigName Type: 'AWS.Freeform' LocationUri: 'hosted' SAMConfigDeploymentStrategy: Type: AWS::AppConfig::DeploymentStrategy Properties: Name: "SAMConfigDeploymentStrategy" Description: "A deployment strategy to deploy the config immediately" DeploymentDurationInMinutes: 0 FinalBakeTimeInMinutes: 0 GrowthFactor: 100 GrowthType: LINEAR ReplicateTo: NONE BasicHostedConfigurationVersion: Type: AWS::AppConfig::HostedConfigurationVersion Properties: ApplicationId: !Ref SAMConfigApplication ConfigurationProfileId: !Ref SAMConfigConfigurationProfile Description: 'AWS Service configuration for update-aws-ip-ranges' ContentType: 'application/json' Content: | { "Services": [ { "Name": "CODEBUILD", "Regions": [ "ap-southeast-2" ], "PrefixList": { "Enable": true, "Summarize": true }, "WafIPSet": { "Enable": true, "Summarize": true, "Scopes": [ "REGIONAL" ] } } ] } AppConfigDeployment: Type: AWS::AppConfig::Deployment Properties: ApplicationId: !Ref SAMConfigApplication ConfigurationProfileId: !Ref SAMConfigConfigurationProfile ConfigurationVersion: !Ref BasicHostedConfigurationVersion DeploymentStrategyId: !Ref SAMConfigDeploymentStrategy EnvironmentId: !Ref Environment LambdaUpdateIPRanges: Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Properties: CodeUri: src/ Handler: app.lambda_handler Runtime: python3.9 Architectures: - x86_64 Environment: Variables: APP_CONFIG_APP_NAME: !Ref AppConfigAppName APP_CONFIG_APP_ENV_NAME: !Ref AppConfigAppEnvironmentName APP_CONFIG_NAME: !Ref AppConfigName AWS_ORG_ARN: !Ref AwsOrgArn LOG_LEVEL: INFO Layers: - !Ref AppConfigLayerArn
  • AWS Cloud Quest: Templating Serverless Applications
    1 project | dev.to | 27 Jan 2023
    AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Description: > appfn Sample SAM Template for appfn # More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 3 Resources: HelloWorldFunction: Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Properties: CodeUri: hello_world/ Handler: app.lambda_handler Runtime: python3.7 Events: HelloWorld: Type: Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api Properties: Path: /hello Method: get DynamoDBTable: Type: AWS::DynamoDB::Table Properties: AttributeDefinitions: - AttributeName: id AttributeType: S KeySchema: - AttributeName: id KeyType: HASH ProvisionedThroughput: ReadCapacityUnits: 5 WriteCapacityUnits: 5 StreamSpecification: StreamViewType: NEW_IMAGE Outputs: # ServerlessRestApi is an implicit API created out of Events key under Serverless::Function # Find out more about other implicit resources you can reference within SAM # https://github.com/awslabs/serverless-application-model/blob/master/docs/internals/generated_resources.rst#api HelloWorldApi: Description: "API Gateway endpoint URL for Prod stage for Hello World function" Value: !Sub "https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/hello/" HelloWorldFunction: Description: "Hello World Lambda Function ARN" Value: !GetAtt HelloWorldFunction.Arn HelloWorldFunctionIamRole: Description: "Implicit IAM Role created for Hello World function" Value: !GetAtt HelloWorldFunctionRole.Arn
  • Crud Dynamodb usando funciones lambdas y apigateway
    1 project | dev.to | 4 Dec 2022
    AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Description: > crud-products-serverless Sample SAM Template for crud-products-serverless # More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst Globals: Function: CodeUri: app Timeout: 10 Tracing: Active Runtime: nodejs16.x Architectures: - x86_64 Environment: Variables: TABLE_NAME: !Ref ProductTable Api: TracingEnabled: True Resources: CreateProductFunction: Type: AWS::Serverless::Function Properties: Handler: src/functions/create.handler Events: CreateProduct: Type: Api Properties: Path: /products Method: post Policies: - DynamoDBCrudPolicy: TableName: !Ref ProductTable Metadata: BuildMethod: esbuild BuildProperties: Minify: true Target: "es2020" EntryPoints: - src/functions/create.ts UpdateProductFunction: Type: AWS::Serverless::Function Properties: Handler: src/functions/updateById.handler Events: CreateProduct: Type: Api Properties: Path: /products Method: put Policies: - DynamoDBCrudPolicy: TableName: !Ref ProductTable Metadata: BuildMethod: esbuild BuildProperties: Minify: true Target: "es2020" EntryPoints: - src/functions/updateById.ts DeleteByIdProductFunction: Type: AWS::Serverless::Function Properties: Handler: src/functions/deleteById.handler Events: CreateProduct: Type: Api Properties: Path: /products/{id} Method: delete Policies: - DynamoDBCrudPolicy: TableName: !Ref ProductTable Metadata: BuildMethod: esbuild BuildProperties: Minify: true Target: "es2020" EntryPoints: - src/functions/deleteById.ts GetAllProductsFunction: Type: AWS::Serverless::Function Properties: Handler: src/functions/getAll.handler Events: CreateProduct: Type: Api Properties: Path: /products Method: get Policies: - DynamoDBCrudPolicy: TableName: !Ref ProductTable Metadata: BuildMethod: esbuild BuildProperties: Minify: true Target: "es2020" EntryPoints: - src/functions/getAll.ts GetProductByIdFunction: Type: AWS::Serverless::Function Properties: Handler: src/functions/getById.handler Events: CreateProduct: Type: Api Properties: Path: /products/{id} Method: get Policies: - DynamoDBCrudPolicy: TableName: !Ref ProductTable Metadata: BuildMethod: esbuild BuildProperties: Minify: true Target: "es2020" EntryPoints: - src/functions/getById.ts ProductTable: Type: AWS::DynamoDB::Table Properties: TableName: !Sub ${AWS::StackName}-products AttributeDefinitions: - AttributeName: id AttributeType: S KeySchema: - AttributeName: id KeyType: HASH BillingMode: PAY_PER_REQUEST
  • Deploying Docker Containers to Lambda using AWS SAM and CodePipeline (Part 1)
    1 project | dev.to | 30 Sep 2022
    Resources: HelloWorldAPI: Type: AWS::Serverless::Api Properties: Name: Hello World API StageName: Prod HelloWorldFunction: Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Properties: PackageType: Image ImageConfig: Command: ["app.lambda_handler"] Events: HelloWorld: Type: Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api Properties: RestApiId: !Ref HelloWorldAPI Path: /hello Method: get Metadata: Dockerfile: hello_world_docker DockerContext: . DockerTag: v1
  • AWS SAM and Go
    2 projects | dev.to | 29 Aug 2022
    # This is the SAM template that represents the architecture of your serverless application # https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-template-basics.html # The AWSTemplateFormatVersion identifies the capabilities of the template # https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/format-version-structure.html AWSTemplateFormatVersion: 2010-09-09 Description: >- Any description you want # Transform section specifies one or more macros that AWS CloudFormation uses to process your template # https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-section-structure.html Transform: - AWS::Serverless-2016-10-31 # Resources declares the AWS resources that you want to include in the stack # https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resources-section-structure.html # More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst Globals: Function: Timeout: 200 Runtime: go1.x Environment: Variables: AnyParameterYouWant: !Ref AnyParameterYouWant #this parameter is injected in all lambdas in this file Parameters: stage: Type: String Default: homologation AnyParameterYouWant: Type: String Default: this-stage-is-${stage} Resources: HelloWorldFunction: Type: AWS::Serverless::Function Properties: FunctionName: !Sub helloWorld-${stage} PackageType: Zip CodeUri: src/main Handler: lambda Tracing: Active # https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html MemorySize: 1024 Events: Schedule: Type: Schedule Properties: Schedule: 'rate(5 minutes)' Name: !Sub HelloWorld-${stage} #this is a name of schedule this approach change by stage name Description: HelloWorldFunction Enabled: true HelloWorldLogGroup: Type: AWS::Logs::LogGroup Properties: LogGroupName: !Sub /aws/lambda/${HelloWorldFunction} RetentionInDays: 30 DependsOn: HelloWorldFunction
  • AWS SAM Layer can't be deployed
    1 project | /r/aws | 7 May 2022
    Resources: SQLLayer: Type: AWS::Serverless::LayerVersion Properties: LayerName: sql-dependencies Description: sql dependencies ContentUri: layers/SQLLayer/ CompatibleRuntimes: - nodejs14.x LicenseInfo: 'MIT' RetentionPolicy: Retain Metadata: # Manage esbuild properties BuildMethod: nodejs14.x onSignup: Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction Properties: CodeUri: lambdas/onSignup/ Handler: app.lambdaHandler Runtime: nodejs14.x Timeout: 10 Architectures: - x86_64 Layers: - !Ref SQLLayer Metadata: # Manage esbuild properties BuildMethod: esbuild BuildProperties: Minify: true Target: "es2020" Sourcemap: true EntryPoints: - app.ts
  • My first application in AWS Serverless Application Repository
    2 projects | dev.to | 24 Jan 2022
    SAM makes it very easy to get started with creating Serverless apps and maintain them as they start getting more and more complex and involved. For more information on SAM , check this out - https://github.com/awslabs/serverless-application-model
  • A Serverless API to validate AWS Access Keys based on AWS SAM
    2 projects | dev.to | 20 Jan 2022
    However , AWS_IAM authorization is not supported in the implicit API declaration as detailed here :https://github.com/awslabs/serverless-application-model/issues/25
  • Deploying CI/CD For NodeJS Serverless Applications Workshop: Part V
    1 project | dev.to | 17 Aug 2021
    AWSTemplateFormatVersion: '2010-09-09' Transform: AWS::Serverless-2016-10-31 Description: > sam-app Sample SAM Template for sam-app Globals: Function: Timeout: 3 Resources: HelloWorldFunction: Type: AWS::Serverless::Function Properties: CodeUri: hello-world/ Handler: app.lambdaHandler Runtime: nodejs14.x AutoPublishAlias: live DeploymentPreference: Type: Canary10Percent5Minutes Alarms: - !Ref CanaryErrorsAlarm Events: HelloWorld: Type: Api Properties: Path: /hello Method: get CanaryErrorsAlarm: Type: AWS::CloudWatch::Alarm Properties: AlarmDescription: Lambda function canary errors ComparisonOperator: GreaterThanThreshold EvaluationPeriods: 2 MetricName: Errors Namespace: AWS/Lambda Period: 60 Statistic: Sum Threshold: 0 Dimensions: - Name: Resource Value: !Sub "${HelloWorldFunction}:live" - Name: FunctionName Value: !Ref HelloWorldFunction - Name: ExecutedVersion Value: !GetAtt HelloWorldFunction.Version.Version Outputs: # ServerlessRestApi is an implicit API created out of Events key under Serverless::Function # Find out more about other implicit resources you can reference within SAM # https://github.com/awslabs/serverless-application-model/blob/master/docs/internals/generated_resources.rst#api HelloWorldApi: Description: "API Gateway endpoint URL for Prod stage for Hello World function" Value: !Sub "https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/hello/" HelloWorldFunction: Description: "Hello World Lambda Function ARN" Value: !GetAtt HelloWorldFunction.Arn HelloWorldFunctionIamRole: Description: "Implicit IAM Role created for Hello World function" Value: !GetAtt HelloWorldFunctionRole.Arn
  • A note from our sponsor - SaaSHub
    www.saashub.com | 4 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic serverless-application-model repo stats
12
7,669
7.1
over 3 years ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com