Package | Description |
---|---|
com.amazonaws.auth.policy |
Classes for creating custom AWS access control policies.
|
com.amazonaws.auth.policy.internal |
Modifier and Type | Method and Description |
---|---|
static Policy |
Policy.fromJson(String jsonString)
Returns an AWS access control policy object generated from JSON string.
|
static Policy |
Policy.fromJson(String jsonString,
PolicyReaderOptions options)
Returns an AWS access control policy object generated from JSON string.
|
Policy |
Policy.withId(String id)
Sets the policy ID for this policy and returns the updated policy so that
multiple calls can be chained together.
|
Policy |
Policy.withStatements(Statement... statements)
Sets the collection of statements contained by this policy and returns
this policy object so that additional method calls can be chained
together.
|
Modifier and Type | Method and Description |
---|---|
Policy |
JsonPolicyReader.createPolicyFromJsonString(String jsonString)
Converts the specified JSON string to an AWS policy object.
|
Modifier and Type | Method and Description |
---|---|
String |
JsonPolicyWriter.writePolicyToString(Policy policy)
Converts the specified AWS policy object to a JSON string, suitable for
passing to an AWS service.
|
Copyright © 2021. All rights reserved.