I\'m trying to send SNS messages via CLI in json format.
aws sns publish --cli-input-json \"{\\\"TopicArn\\\":\\\"xxx\\\",\\\"Message\\\":\\\"first line\\n
This worked out for me:
"first line second line"