aws-sdk-java-v2
aws-sdk-java-v2 copied to clipboard
IAM Policy Builder
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).
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.
This would be helpful and preferable to importing the v1 SDK
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.
https://github.com/aws/aws-sdk-java-v2/pull/4185 created to add this feature
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
⚠️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.