-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(s3): upgrade S3BucketNotifications Lambda to python3.11 (#29506)
### Issue # (if applicable) Closes D122674750. ### Reason for this change This Lambda does not work in new regions. ### Description of changes Current S3BucketNotifications Custom Resource Lambda `python3.9` uses `botocore` version `1.29.90` which does not have S3 endpoint information for new regions. Upgrading to `python3.11` which has `botocore` version `1.30.1`. See more in D122674750. Note that we cannot upgrade to `python3.12` because it's not available in all regions yet. ### Description of how you validated changes N/A. ### Checklist - [X] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
Showing
10 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -178,7 +178,7 @@ | |
"Arn" | ||
] | ||
}, | ||
"Runtime": "python3.9", | ||
"Runtime": "python3.11", | ||
"Timeout": 300 | ||
}, | ||
"DependsOn": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -323,7 +323,7 @@ | |
"Arn" | ||
] | ||
}, | ||
"Runtime": "python3.9", | ||
"Runtime": "python3.11", | ||
"Timeout": 300 | ||
}, | ||
"DependsOn": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -254,7 +254,7 @@ | |
"Arn" | ||
] | ||
}, | ||
"Runtime": "python3.9", | ||
"Runtime": "python3.11", | ||
"Timeout": 300 | ||
}, | ||
"DependsOn": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -246,7 +246,7 @@ | |
"Arn" | ||
] | ||
}, | ||
"Runtime": "python3.9", | ||
"Runtime": "python3.11", | ||
"Timeout": 300 | ||
}, | ||
"DependsOn": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -204,7 +204,7 @@ | |
"Arn" | ||
] | ||
}, | ||
"Runtime": "python3.9", | ||
"Runtime": "python3.11", | ||
"Timeout": 300 | ||
}, | ||
"DependsOn": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -412,7 +412,7 @@ | |
"Arn" | ||
] | ||
}, | ||
"Runtime": "python3.9", | ||
"Runtime": "python3.11", | ||
"Timeout": 300 | ||
}, | ||
"DependsOn": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -193,7 +193,7 @@ | |
"Arn" | ||
] | ||
}, | ||
"Runtime": "python3.9", | ||
"Runtime": "python3.11", | ||
"Timeout": 300 | ||
}, | ||
"DependsOn": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,7 +89,7 @@ | |
"Arn" | ||
] | ||
}, | ||
"Runtime": "python3.9", | ||
"Runtime": "python3.11", | ||
"Timeout": 300 | ||
}, | ||
"DependsOn": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters