Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save italopessoa/0cf72aa49aaccea6cfc5ea9eb7108ae1 to your computer and use it in GitHub Desktop.
Save italopessoa/0cf72aa49aaccea6cfc5ea9eb7108ae1 to your computer and use it in GitHub Desktop.
AWSTemplateFormatVersion: 2010-09-09 #ItaloTestLambdaFunctionStack
Description: Template to create an lambda function
Resources:
HelloWorldLambdaCloudFormationItaloTemplate:
Type: 'AWS::Lambda::Function'
Properties:
Handler: index.helloworld
Role: 'arn:aws:iam::{account}:role/{role}'
Description: Hello World Lambda CloudFormation Italo Template description
Code:
S3Bucket: helloworldlambdacloudformationitalobucket
S3Key: HelloWorldLambdaItalo.zip
Runtime: nodejs8.10
Timeout: 25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment