Get Policy
verifiedpermissions_get_policy | R Documentation |
Retrieves information about the specified policy¶
Description¶
Retrieves information about the specified policy.
Usage¶
Arguments¶
policyStoreId
[required] Specifies the ID of the policy store that contains the policy that you want information about.
policyId
[required] Specifies the ID of the policy you want information about.
Value¶
A list with the following syntax:
list(
policyStoreId = "string",
policyId = "string",
policyType = "STATIC"|"TEMPLATE_LINKED",
principal = list(
entityType = "string",
entityId = "string"
),
resource = list(
entityType = "string",
entityId = "string"
),
actions = list(
list(
actionType = "string",
actionId = "string"
)
),
definition = list(
static = list(
description = "string",
statement = "string"
),
templateLinked = list(
policyTemplateId = "string",
principal = list(
entityType = "string",
entityId = "string"
),
resource = list(
entityType = "string",
entityId = "string"
)
)
),
createdDate = as.POSIXct(
"2015-01-01"
),
lastUpdatedDate = as.POSIXct(
"2015-01-01"
),
effect = "Permit"|"Forbid"
)