How to add actions to Lambda Insights created via NodejsFunction #23067
-
Trying to implement an SNS action from the alarms generated from the insightsVersion key of the NodejsFunction construct but unsure how to get access to the references that the helper creates. Any feedback would be appreciated, thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I'm not sure there would be any references worth generating here, what exact kind of reference do you need exactly? When lambda insights gets enabled through this prop, all that happens is that the correct lambda layer is added to the layers of that lambda, and the role has the correct managed policy added to it. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
I'm not sure there would be any references worth generating here, what exact kind of reference do you need exactly?
When lambda insights gets enabled through this prop, all that happens is that the correct lambda layer is added to the layers of that lambda, and the role has the correct managed policy added to it.