sls-dev-tools icon indicating copy to clipboard operation
sls-dev-tools copied to clipboard

Lambda Trigger Support

Open serkan-ozal opened this issue 5 years ago • 0 comments

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.

serkan-ozal avatar May 01 '20 17:05 serkan-ozal