From 49b67253485cc590f39dced0ae2a2c31c422af0f Mon Sep 17 00:00:00 2001 From: daidokoro Date: Thu, 14 Nov 2024 16:51:16 +0100 Subject: [PATCH] removed unneeded function --- custom-resource/index.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/custom-resource/index.py b/custom-resource/index.py index d2696373..c340235b 100644 --- a/custom-resource/index.py +++ b/custom-resource/index.py @@ -502,15 +502,6 @@ def handle(self): physical_resource_id=self.event.get('PhysicalResourceId', self.context.aws_request_id) ) -def lambda_update_reserved_concurrent_executions(event): - lambda_client = boto3.client('lambda') - reserved_concurrent_executions_value = int(event['ResourceProperties']['Parameters']['ReservedConcurrentExecutions']) - if reserved_concurrent_executions_value > 0: - response = lambda_client.put_function_concurrency( - FunctionName=event['ResourceProperties']['LambdaArn'], - ReservedConcurrentExecutions=reserved_concurrent_executions_value - ) - def lambda_handler(event, context): ''' AWS Lambda handler function