Attach a policy to a user, group, or role
See also
Other policies:
as_policy_arn()
,
aws_policies()
,
aws_policy()
,
aws_policy_create()
,
aws_policy_delete()
,
aws_policy_delete_version()
,
aws_policy_detach()
,
aws_policy_exists()
,
aws_policy_list_entities()
,
aws_policy_list_versions()
Examples
if (FALSE) { # \dontrun{
aws_policy("AmazonRDSDataFullAccess")
aws_user() %>% aws_policy_attach("AmazonRDSDataFullAccess")
aws_user()$attached_policies
# aws_role("OrganizationAccountSecurityRole") %>%
# aws_policy_attach("ReadOnlyAccess")
} # }