I found this piece of documentation for a way to build policies for accessing S3 Buckets (among other things) programmatically, but I can't find seem to find it. (Based on the file path, I would've guessed that it would be in either auth or sdk-core).
Has this been deprecated and moved somewhere else? There seems to be a similar (possibly equivalent) version in the V1 version of the SDK but would rather use V2 if possible.
Link to documentation: https://sdk.amazonaws.com/java/api/2.0.0/software/amazon/awssdk/core/auth/policy/package-summary.html