AWS Lambda Create a Lambda Function with CloudFromation

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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
      Runtime: String
      Environment:
        Environment
      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 bash Lambda

Publishing a Custom Runtime

Create a Java Lambda