curena
9/2/2015 - 8:50 PM

Allow SNS access only over HTTPS

Allow SNS access only over HTTPS

{   
    "Version":"2012-10-17",
    "Id":"SomePolicyId",
    "Statement" :[
        {
            "Sid":"Statement1",
            "Effect":"Allow",           
            "Principal" :{
                "AWS":"111122223333"
              },
            "Action":["sns:Subscribe"],
            "Resource": "arn:aws:sns:us-east-1:444455556666:MyTopic",
            "Condition" :{
                "StringEquals" :{
                    "sns:Protocol":"https"
                 }
            }   
        }
    ]
}