SaaSHub helps you find the best software and product alternatives Learn more →
Serverless-application-model Alternatives
Similar projects and alternatives to serverless-application-model
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
powertools-lambda-python
A developer toolkit to implement Serverless best practices and increase developer velocity.
-
cookiecutter-aws-sam-s3-rekognition-dynamodb-python
SAM app that uses AWS Rekognition APIs to detect text in S3 Objects and stores the text in DynamoDB.
-
startbootstrap-bare
A bare Bootstrap HTML starter template for rapid development - created by Start Bootstrap
-
update-aws-ip-ranges
Lambda function that creates or updates AWS resource with AWS service's IP ranges from the ip-ranges.json file. Configure which service and region. Configure to which resources you want to create or update with those ranges. It supports WAF IPSet and VPC Prefix List and sharing via Resource Access Manager. (by sjramblings)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
update-aws-ip-ranges
Lambda function that automatically create or update AWS resource with AWS service's IP ranges from the ip-ranges.json file. You can configure which service and region to get range. You can also configure to which resources you want to create or update with those ranges. It supports WAF IPSet and VPC Prefix List.
-
serverless-cognito
Authenticate your users through Cognito, Lambda and API Gateway. The script will set a local cookie in the browser and prompt for reauthentication by the user if needed.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
serverless-application-model reviews and mentions
-
Streamline AWS Development with CI/CD, SAM, and GitHub Actions
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
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
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
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)
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
# 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
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
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
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
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
Stats
awslabs/serverless-application-model is an open source project licensed under Apache License 2.0 which is an OSI approved license.
The primary programming language of serverless-application-model is Python.
Popular Comparisons
- serverless-application-model VS scryfall-telegram
- serverless-application-model VS cookiecutter-aws-sam-s3-rekognition-dynamodb-python
- serverless-application-model VS startbootstrap-bare
- serverless-application-model VS update-aws-ip-ranges
- serverless-application-model VS aws-cdk
- serverless-application-model VS aws-lambda-series
- serverless-application-model VS sam-eventbridge-project
- serverless-application-model VS powertools-lambda-python
- serverless-application-model VS serverless-app-examples
- serverless-application-model VS update-aws-ip-ranges
Sponsored