amazon s3 - s3 Bucket Policy Malformed error -


The following bucket policy is returning a malformed error:

  {"version": "" "", "ID": "S3 Policy", "Statement": [{"Sid": "1", "Effect": "Allow", "Principal": {"AWS": ["AWS:"], "Action": ["s3: GetObject", "s3: PutObject"], "Resource": "arn: aws: s3 ::: BUCKETNAME / *"]}}}  

I am trying to create a policy where all files in the BUCKETNAME user AWSID - can be readable by a 65-character hex ID / write I know that works.

Any ideas which are returning specifically to the error?

I think the brackets have been merged.

Try it:

  {"version": "2008-10 "", "ID": "S3 Policy", "Statement": [{"Sid": "1", "Impact": "Allow", "Principal": {"AWS": ["AWSID" ], "Action": ["S3: GetObject", "s3: PutObject"], "Resource": "arn: aws: s3 ::: BUCKETNAME / *"}]}  
< / Div>

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -