feat(python): Decoupled IAM Role and Lambda example #883
Labels
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
language/python
Related to Python examples
Describe the feature
A CDK/python example how to create a Lambda + Docker with a decoupled IAM Role.
Use Case
On these days, I had a problem when I needed to implement CDK/Python, lambda (dockerfunction) and CDK-nag. Using AWS/Security/DSR with default Nag configuration, it require a lambda with a custom IAM role (not that created by cdk) otherwise I'll get an error.
Proposed Solution
I already developed a simple example how to create a IAM role / attach it to a lambda. As I would not able to find any code (using Python) I thought that could be a great example to add.
Other Information
No response
Acknowledgements
Language
Python
The text was updated successfully, but these errors were encountered: