public class JsonPolicyReader extends Object
Constructor and Description |
---|
JsonPolicyReader() |
JsonPolicyReader(PolicyReaderOptions options) |
Modifier and Type | Method and Description |
---|---|
Policy |
createPolicyFromJsonString(String jsonString)
Converts the specified JSON string to an AWS policy object.
|
public JsonPolicyReader()
public JsonPolicyReader(PolicyReaderOptions options)
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 © 2024. All rights reserved.