title: aws cli command to subscribe to a topic with filters
body: <p>I'm trying to write a cross account aws cli command to subscribe to a topic and create a filter for that subscription at the same time. Below is how my command looks like. </p>
  
  <pre><code>aws sns subscribe --topic-arn arn:aws:sns:region:accountId:my_topic --protocol sqs --notification-endpoint arn:aws:sqs:region:differentAccountId:my_sqs_queue --attributes "{'RawMessageDelivery': 'true', 'FilterPolicy': '{\"filter\": [\"value1\", \"value2\"]}'}"
  </code></pre>
  
  <p>I'm getting below error when I run this.</p>
  
  <pre><code>Unknown options: --attributes, [\value1\,, \value2\]}'}, {'RawMessageDelivery': 'true', 'FilterPolicy': '{" filter\:
  </code></pre>
  
  <p>I've access to admin access both the aws accounts. Any suggestions on what I'm doing wrong?</p>
  
  <p><strong>EDIT:</strong>
  I'm running this in VS Code powershell terminal in windows.</p>