aws_policies: List policies

View source: R/policies.R

aws_policiesR Documentation

List policies

Description

List policies

Usage

aws_policies(refresh = FALSE, ...)

Arguments

refresh

(logical) refresh results? default: FALSE. to invalidate cache and refresh policy data, set refresh=TRUE

...

named arguments passed on to list_policies

Details

uses memoise internally to cache results to speed up all subsequent calls to the function

Value

A tibble with information about policies. Each row is a policy. Columns:

  • PolicyName

  • PolicyId

  • Path

  • Arn

  • CreateDate

  • UpdateDate

  • AttachmentCount

  • PermissionsBoundaryUsageCount

  • IsAttachable

  • Description

  • Tags

See Also

Other policies: as_policy_arn(), aws_policy(), aws_policy_attach(), aws_policy_create(), aws_policy_delete(), aws_policy_delete_version(), aws_policy_detach(), aws_policy_exists(), aws_policy_list_entities(), aws_policy_list_versions(), aws_policy_update()

Examples


# takes a while on the first execution in an R session
aws_policies()


# faster because first call memoised the result
aws_policies()
# refresh=TRUE will pull from AWS
aws_policies(refresh = TRUE)


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