Policy 3 - Allow by Specific IP Address.
{ "Version": "2012-10-17", "Id": "S3PolicyId1", "Statement": [ { "Sid": "IPAllow", "Effect": "Deny", "Principal": "*", "Action": "s3:*", "Resource": [ "arn:aws:s3:::mykplabs-policy", "arn:aws:s3:::mykplabs-policy/*" ], "Condition": { "NotIpAddress": {"aws:SourceIp": "94.204.45.156/32"} } } ] }