public class JsonPolicyReader extends Object
Constructor and Description |
---|
JsonPolicyReader() |
Modifier and Type | Method and Description |
---|---|
Policy |
createPolicyFromJsonString(String jsonString)
Converts the specified JSON string to an AWS policy object.
|
public Policy createPolicyFromJsonString(String jsonString)
jsonString
- the specified JSON string representation of this AWS access
control policy.IllegalArgumentException
- If the specified JSON string is null or invalid and cannot be
converted to an AWS policy object.Copyright © 2014. All rights reserved.