Skip to contents

Get a policy

Usage

aws_policy(name, local = FALSE, path = NULL)

Arguments

name

(character) a policy name or arn

local

(logical) if TRUE use your AWS account for your own managed policies. If FALSE, AWS managed policies

path

(character) if not NULL, we add the path into the ARN before the name value

Value

a tibble with policy details

Examples

if (FALSE) { # \dontrun{
aws_policy("ReadOnlyAccess")
aws_policy("arn:aws:iam::aws:policy/ReadOnlyAccess")
} # }