AWS Lambda Create a Lambda Function with CloudFromation: Difference between revisions
Jump to navigation
Jump to search
Line 37: | Line 37: | ||
- ... | - ... | ||
[[AWS_Lambda_Concepts#Memory_Configuration|MemorySize]]: 128 | [[AWS_Lambda_Concepts#Memory_Configuration|MemorySize]]: 128 | ||
Role: | [[https://kb.novaordis.com/index.php/AWS_Lambda_Concepts#Role|Role]]: arn:aws:iam::77777777777:role/service-role/my-function-execution-role | ||
Timeout: Integer | Timeout: Integer | ||
ReservedConcurrentExecutions: Integer | ReservedConcurrentExecutions: Integer |
Revision as of 20:55, 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: 128 [[1]]: arn:aws:iam::77777777777:role/service-role/my-function-execution-role Timeout: Integer ReservedConcurrentExecutions: Integer DeadLetterConfig: DeadLetterConfig KmsKeyArn: String Layers: - String TracingConfig: TracingConfig Tags: Resource Tag