{ "Version": "2012-10-17", "Id": "S3PolicyId1", "Statement": [ { "Sid": "statement1", "Effect": "Deny", "Principal": "*", "Action":["s3:*"] , "Resource": "arn:aws:s3:::examplebucket/*", "Condition" : { "NotIpAddress" : { "aws:SourceIp": "192.168.143.188/32" } } } ] }