changed Lambda demo to support AWS Academy and create individual bucket for group with globally unique name in S3

This commit is contained in:
Sebastian Rieger
2022-06-20 13:04:17 +02:00
parent 1f4a435d84
commit f081a50a4a
4 changed files with 37 additions and 2 deletions

View File

@ -35,6 +35,7 @@ roleName = 'arn:aws:iam::488766701848:role/LabRole'
#
################################################################################################
def cleanup_s3_bucket(s3_bucket):
# Deleting objects
for s3_object in s3_bucket.objects.all():
@ -140,4 +141,4 @@ print("Lambda Function and S3 Bucket to store the counter are available. Sadly,
#
# #response = lClient.create_event_source_mapping(
# # EventSourceArn=apiArn,
# #)
# #)