Policies are Json Document which consists of
{"Version":"2012-10-17",
"Id":"S3-Account-Permissions",
"Statement":[{
"Sid":"1",
"Effect":"Allow",
"Principal":{"AWS":["arn:aws: iam::123456789012: root"]},
"Action":["s3:GetObject","s3: PutObject"],
"Resource":["arn: aws: s3:::mybucket/*"],
"Condition":{"IpAddress":{"aws:SourceIp":"192.0.2.0/24"}}}]}