List policy entities
Value
tibble with columns:
type: one of Users, Roles, Groups
name: the user, role or group name
id: the id for the user, role or group name
Zero row tibble if there are no entities
See also
Other policies:
as_policy_arn()
,
aws_policies()
,
aws_policy()
,
aws_policy_attach()
,
aws_policy_create()
,
aws_policy_delete()
,
aws_policy_delete_version()
,
aws_policy_detach()
,
aws_policy_exists()
,
aws_policy_list_versions()
Examples
if (FALSE) { # interactive()
pols <- aws_policies(Scope = "Local")
for (policy in pols$PolicyName) {
cat("\n\n", policy, "\n")
print(aws_policy_list_entities(policy))
}
aws_policy_list_entities("S3ReadOnlyAccessS64Test22")
}