aws sns subscribe
Subscribes an endpoint to an Amazon SNS topic. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--attributesA map of attributes with their corresponding values.--notification-endpointThe endpoint that you want to receive notifications.--protocolThe protocol that you want to use.--return-subscription-arnSets whether the response from the Subscribe request includes the subscription ARN, even if the subscription is not yet confirmed.--topic-arnThe ARN of the topic you want to subscribe to.