sls-dev-tools
sls-dev-tools copied to clipboard
Lambda Trigger Support
Twitter Handle: serkan_ozal (if you'd like a shoutout when we add the feature)
I would like to see the triggers (AWS SQS, SNS, Kinesis, S3, ...) of Lambda function in the function panel.
AWS SQS, Kinesis and DynamoDB stream triggers can be simply retrieved from event source mappings (GetEventSourceMapping/ListEventSourceMappings). However the other triggers (AWS SNS, S3, ...) cannot be detected over even source mapping but from function policy (GetPolicy) by parsing "Statement"/"Condition"/"ArnLike"/"AWS:SourceArn" elements.