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(java.lang.String jsonString)
Returns an AWS access control policy object generated from JSON string.
|
Policy |
Policy.withId(java.lang.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(java.lang.String jsonString)
Converts the specified JSON string to an AWS policy object.
|
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
JsonPolicyWriter.jsonStringOf(Policy policy)
Converts the given
Policy into a JSON String. |
java.lang.String |
JsonPolicyWriter.writePolicyToString(Policy policy)
Converts the specified AWS policy object to a JSON string, suitable for
passing to an AWS service.
|