AWS Lambda Create a Lambda Function with CloudFromation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 22: Line 22:
       Description: 'Some description'
       Description: 'Some description'
       [[AWS_Lambda_Concepts#Code|Code]]:
       [[AWS_Lambda_Concepts#Code|Code]]:
         S3Bucket: String
         S3Bucket: a-bucket
         S3Key: String
         S3Key: a-deployment-package
         S3ObjectVersion: String
         # S3ObjectVersion: String
         ZipFile: String
         # ZipFile: String
       Environment:
       Environment:
         Environment
         Environment

Revision as of 19:12, 4 April 2019

External

Internal

Resource Types

AWS::Lambda::Function

AWS::Lambda::Function
CreateFunction
Resources:
  LambdaExample:
    Type: "AWS::Lambda::Function"
    Properties: 
      FunctionName: my-lambda
      Description: 'Some description'
      Code:
        S3Bucket: a-bucket
        S3Key: a-deployment-package
        # S3ObjectVersion: String
        # ZipFile: String
      Environment:
        Environment
      Runtime: String
      VpcConfig:
        VPCConfig
      MemorySize: Integer
      Role: String
      Timeout: Integer
      Handler: String
      ReservedConcurrentExecutions: Integer
      DeadLetterConfig:
        DeadLetterConfig
      KmsKeyArn: String
      Layers:
        - String
      TracingConfig:
        TracingConfig
      Tags:
        Resource Tag

Create a Java Lambda

Create a bash Lambda