aws-sdk-java-v2 icon indicating copy to clipboard operation
aws-sdk-java-v2 copied to clipboard

IAM Policy Builder

Open millems opened this issue 8 years ago • 3 comments

The IAM policy builder includes some hacks and changes, like removing dashes from account IDs, that could be considered unintuitive.

Review the inherited state of the V1 IAM policy builder and determine which changes are necessary for V2.

(Feel free to comment on this issue with desired changes).

millems avatar Jul 03 '17 18:07 millems

This shouldn't be a high-effort migration, since there's not a lot of bells and whistles that can be added to the 1.11.x version.

millems avatar Nov 23 '18 18:11 millems

This would be helpful and preferable to importing the v1 SDK

jensentanlo avatar Mar 03 '22 18:03 jensentanlo

I'm trying to get SNS over SQS working, and these classes would be very helpful, as the subscribe operation no longer sets the policy. I'd really prefer not to have to us the v1 SDK.

They're currently in the test-utils artifact, which makes me a little nervous about using them in production code.

leifbennett avatar Apr 26 '22 23:04 leifbennett

https://github.com/aws/aws-sdk-java-v2/pull/4185 created to add this feature

millems avatar Jul 13 '23 22:07 millems

This feature was released. Documentation in developer guide is in progress, but you can use it based on the docs here: https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/policybuilder/iam/IamPolicy.html

millems avatar Jul 28 '23 20:07 millems

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

github-actions[bot] avatar Jul 28 '23 20:07 github-actions[bot]