2023-06-22 11:54:09 +00:00
|
|
|
AWSTemplateFormatVersion: '2010-09-09'
|
|
|
|
Transform: AWS::Serverless-2016-10-31
|
|
|
|
Description: An AWS Lambda application.
|
|
|
|
|
|
|
|
Resources:
|
|
|
|
Cleanup:
|
|
|
|
Type: AWS::Serverless::Function
|
|
|
|
Properties:
|
|
|
|
Handler: cleanup.lambda_handler
|
|
|
|
Runtime: python3.9
|
2023-07-05 03:46:58 +00:00
|
|
|
CodeUri: ../files
|
2023-06-22 11:54:09 +00:00
|
|
|
Environment:
|
|
|
|
Variables:
|
|
|
|
REGIONS: '["us-west-2", "us-east-1"]'
|
|
|
|
TAGS: '{"Project":"perf", "Name":"node"}'
|
2023-07-05 05:06:39 +00:00
|
|
|
MAX_AGE_MINUTES: '120'
|
2023-06-22 11:54:09 +00:00
|
|
|
Policies:
|
|
|
|
- AmazonEC2FullAccess
|
|
|
|
Timeout: 30
|