AWS Lambda Create a Lambda Function with CloudFromation: Difference between revisions
Jump to navigation
Jump to search
Line 26: | Line 26: | ||
# S3ObjectVersion: String | # S3ObjectVersion: String | ||
# ZipFile: String | # ZipFile: String | ||
[[AWS_Lambda_Concepts#Handler_Code|Handler]]: handler | |||
[[AWS_Lambda_Concepts#Runtime|Runtime]]: java-1.8.0-openjdk | [[AWS_Lambda_Concepts#Runtime|Runtime]]: java-1.8.0-openjdk | ||
[[AWS_Lambda_Concepts#Environment_Variables|Environment]]: | [[AWS_Lambda_Concepts#Environment_Variables|Environment]]: | ||
Line 38: | Line 39: | ||
Role: String | Role: String | ||
Timeout: Integer | Timeout: Integer | ||
ReservedConcurrentExecutions: Integer | ReservedConcurrentExecutions: Integer | ||
DeadLetterConfig: | DeadLetterConfig: |
Revision as of 20:51, 4 April 2019
External
Internal
Resource Types
AWS::Lambda::Function
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 Handler: handler Runtime: java-1.8.0-openjdk Environment: Variables: MY_ENV_VAR: 'my value' VpcConfig: SubnetIds: - red-subnet SecurityGroupIds: - ... MemorySize: Integer Role: String Timeout: Integer ReservedConcurrentExecutions: Integer DeadLetterConfig: DeadLetterConfig KmsKeyArn: String Layers: - String TracingConfig: TracingConfig Tags: Resource Tag