Set SNS Return Subscription ARN Medium

The Amazon SNS subscribe operation by default returns either the subscription ARN (if the subscribed endpoint is managed by AWS and it belongs to the same account as the topic) or the phrase: PENDING CONFIRMATION. If you want to always return the subscription ARN, set the ReturnSubscriptionArn argument to True.

Detector ID
typescript/sns-set-return-subscription-arn@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-