4 Answers
- Newest
- Most votes
- Most comments
0
@REDACTEDUSER
There are two questions/problems here:
- the nil issue
- passing variables to a function
On #1: I believe your problem is in your debug.log call to the self. It should be self.Properties.myAmno
#2: Yes, you can pass values to your functions, but it's not required for this example. Just put the value you wish to pass in the () of the function call. Then in the function declaration, put the parameter name that you want to use in the function in the ().
Hope that puts you on the right track!
answered 6 years ago
0
Errors are very unforgiving and cant tell there there till they hit u in the face. : ) well done
answered 6 years ago
This post is closed: Adding new answers, comments, and votes is disabled.
Relevant content
- Accepted Answerasked 6 years ago
- Accepted Answerasked 2 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- Why can't I view the EventBridge trigger in my Lambda function that my CloudFormation stack created?AWS OFFICIALUpdated a month ago