AWS S3 bucket policy to access from source IP

{
    "Version": "2012-10-17",
    "Id": "policy-mongo-archive",
    "Statement": [
        {
            "Sid": "IPAllow",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::mongo-archive/*",
            "Condition": {
                "IpAddress": {
                    "aws:SourceIp": [
                        "52.17.17.12/32"
                    ]
                }
            }
        }
    ]
}