Skip to content

eahefnawy/component-url-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example: Basic Application

An example of a basic application using serverless components. The application creates a AWS Lambda function and maps it to the handler code provided to it. It also creates an appropriate role and assigns it to the Lambda function. The application is deployable to AWS.

Components

The sample application is composed of the following components:

  • Lambda function: It creates one Lambda function with the handler code provided to it. The aws-lambda component encapsulates all that functionality.
  • Role: It creates a new role with a AssumeRole policy for the Lambda service. An existing policy can also be provided, in which case the role just uses that policy. The aws-iam-role component encapsulates all that functionality.

Operations

Deploy

To deploy the application and create all dependent resources automatically, simply do:

$ components deploy

Remove

To remove the application and delete all dependent resources automatically, simply do:

$ components remove

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published