aws_policy_list_entities: List policy entities

aws_policy_list_entitiesR Documentation

List policy entities

Description

List policy entities

Usage

aws_policy_list_entities(name, ...)

Arguments

name

(character) a policy name. required. within the function we lookup the policy arn which is what's passed to the AWS API

...

additional named arguments passed on to internal paws method (see link below to its docs)

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

References

https://www.paws-r-sdk.com/docs/iam_list_entities_for_policy/

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(), aws_policy_update()

Examples


aws_policy_list_entities("AdministratorAccess")
aws_policy_list_entities("AmazonRedshiftReadOnlyAccess")


sixtyfour documentation built on April 3, 2025, 8:22 p.m.