-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcmtr-1e334843-DemoLambda.yaml
47 lines (47 loc) · 1.58 KB
/
cmtr-1e334843-DemoLambda.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# This AWS SAM template has been generated from your function's configuration. If
# your function has one or more triggers, note that the AWS resources associated
# with these triggers aren't fully specified in this template and include
# placeholder values. Open this template in AWS Application Composer or your
# favorite IDE and modify it to specify a serverless application with other AWS
# resources.
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: An AWS Serverless Application Model template describing your function.
Resources:
cmtr1e334843DemoLambda:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Description: ' '
MemorySize: 1024
Timeout: 300
Handler: com.sushimSyndicateJava.Demolambda
Runtime: java11
Architectures:
- x86_64
EphemeralStorage:
Size: 512
EventInvokeConfig:
MaximumEventAgeInSeconds: 21600
MaximumRetryAttempts: 2
PackageType: Zip
Policies:
- Statement:
- Action:
- logs:CreateLogGroup
- logs:CreateLogStream
- logs:PutLogEvents
- dynamodb:GetItem
- dynamodb:Query
- dynamodb:PutItem
- dynamodb:Batch*
- dynamodb:DeleteItem
- ssm:PutParameter
- ssm:GetParameter
- kms:Decrypt
Effect: Allow
Resource: '*'
SnapStart:
ApplyOn: None
RuntimeManagementConfig:
UpdateRuntimeOn: Auto