Hello everybody.
I'm looking at policy permissions page here https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html.
I'm already successfully pass some of permissions (PutObject, GetObject, GetBucketPolicy, PutBucketPolicy) from that page to method setBucketPolicy, but still can't pass GetLifecycleConfiguration and PutLifecycleConfiguration.
I see that object and bucket permissions needs to be declared in separate sections.
I'm getting exception "ErrorResponse(code=MalformedPolicy, message=Policy has invalid resource."
Are they implemented for java?
If they are not, where can I get supported "enumerations" and how can I manage permissions for bucket lifecycle operations?
Here is my json I try to apply: json.zip
Thanks in advance.