From 92c32940665407f6484b49aada34ed2d9c6ef103 Mon Sep 17 00:00:00 2001 From: mdugdale Date: Sat, 27 Mar 2021 23:52:46 +0000 Subject: [PATCH] typescript aws --- dist/cloudformation-stack-ttl.yml | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/dist/cloudformation-stack-ttl.yml b/dist/cloudformation-stack-ttl.yml index 3c80abaa..f0954ccc 100644 --- a/dist/cloudformation-stack-ttl.yml +++ b/dist/cloudformation-stack-ttl.yml @@ -23,32 +23,11 @@ Parameters: TTL: Type: Number Description: Time-to-live in minutes for the stack. - DeleteLambdaExRoleName: - Type: Number - Description: Time-to-live in minutes for the stack. - DeleteCFNLambdaName: - Type: Number - Description: Time-to-live in minutes for the stack. - DeleteStackEventRuleName: - Type: Number - Description: Time-to-live in minutes for the stack. - DeleteCFNLambdaPermissionName: - Type: Number - Description: Time-to-live in minutes for the stack. - LambdaExecutionRoleName: - Type: Number - Description: Time-to-live in minutes for the stack. - GenerateCronExpressionLambdaName: - Type: Number - Description: Time-to-live in minutes for the stack. - GenerateCronExpressionName: - Type: Number - Description: Time-to-live in minutes for the stack. Resources: DeleteCFNLambda: Type: "AWS::Lambda::Function" Properties: - FunctionName: !Ref "DeleteCFNLambdaName" + FunctionName: "DeleteCFNLambdaName" Code: ZipFile: | import boto3 @@ -84,7 +63,7 @@ Resources: - GenerateCronExpression Type: "AWS::Events::Rule" Properties: - Name: !Ref "DeleteStackEventRuleName" + Name: "DeleteStackEventRuleName" Description: Delete stack event ScheduleExpression: !GetAtt GenerateCronExpression.cron_exp State: "ENABLED"