title: Adding SQS Permissions with conditions using AWS CLI Command
body: <p>How can I add the below listed SQS permission using AWS CLI command?</p>
  
  <pre><code>    "Statement": [
      {
        "Sid": "Sid8390000202",
        "Effect": "Allow",
        "Principal": "*",
        "Action": "SQS:*",
        "Resource": "arn:aws:sqs:us-east-1:12345678:example-queue",
        "Condition": {
          "ArnEquals": {
            "aws:SourceArn": "arn:aws:sns:us-east-1:73628827939:MySNS"
          }
        }
      }
    ]
  </code></pre>