Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CDK Aspect Implementation Example #962

Closed
1 of 2 tasks
fosterdrummer opened this issue Nov 19, 2023 · 1 comment · Fixed by #963
Closed
1 of 2 tasks

Add CDK Aspect Implementation Example #962

fosterdrummer opened this issue Nov 19, 2023 · 1 comment · Fixed by #963
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.

Comments

@fosterdrummer
Copy link
Contributor

fosterdrummer commented Nov 19, 2023

Describe the feature

Suggesting a CDK Aspect implementation example to be added as many users might not have experience using the feature.

Use Case

I have used Aspects for reporting, security scanning, and applying bulk customizations to constructs (Though I would only recommend the latter as a last resort).

Proposed Solution

I have created a sample project implementing an aspect that does the following:

  • Set a default ReservedConcurrentExecutions property in lambda functions across a scope if the property is null/undefined.
  • Logs construct paths and actions taken to give users an idea of the aspect's behavior.

Other Information

While the contributing guidelines discourage escape hatches, I still believe this example is relevant to show users how to implement a custom aspect.

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Language

Typescript

@fosterdrummer fosterdrummer added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Nov 19, 2023
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant