Skip to content

Commit

Permalink
Create Template.yaml
Browse files Browse the repository at this point in the history
unified template in one place

Signed-off-by: PATOOWORLD <[email protected]>
  • Loading branch information
patooworld authored Feb 8, 2024
1 parent f4d8b87 commit 9161c6f
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions Template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
WSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: An AWS Serverless Application Model template describing your function.
Resources:
amplifyd34034311rce69maLogRetentionaae0aa3c5b4dNGmwossWylE1:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Description: ''
MemorySize: 128
Timeout: 900
Handler: index.handler
Runtime: nodejs18.x
Architectures:
- x86_64
EphemeralStorage:
Size: 512
EventInvokeConfig:
MaximumEventAgeInSeconds: 21600
MaximumRetryAttempts: 2
PackageType: Zip
Policies:
- Statement:
- Action:
- logs:PutRetentionPolicy
- logs:DeleteRetentionPolicy
Resource: '*'
Effect: Allow
- Effect: Allow
Action:
- logs:CreateLogGroup
- logs:CreateLogStream
- logs:PutLogEvents
Resource: '*'
SnapStart:
ApplyOn: None
RuntimeManagementConfig:
UpdateRuntimeOn: Auto

0 comments on commit 9161c6f

Please sign in to comment.