public class JsonPolicyReader extends Object
| Constructor | Description |
|---|---|
JsonPolicyReader() |
| Modifier and Type | Method | 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.