iam_put_role_permissions_boundary: Adds or updates the policy that is specified as the IAM...

Description Usage Arguments Details Request syntax

View source: R/iam_operations.R

Description

Adds or updates the policy that is specified as the IAM role's permissions boundary. You can use an AWS managed policy or a customer managed policy to set the boundary for a role. Use the boundary to control the maximum permissions that the role can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the role.

Usage

1
iam_put_role_permissions_boundary(RoleName, PermissionsBoundary)

Arguments

RoleName

[required] The name (friendly name, not ARN) of the IAM role for which you want to set the permissions boundary.

PermissionsBoundary

[required] The ARN of the policy that is used to set the permissions boundary for the role.

Details

You cannot set the boundary for a service-linked role.

Policies used as permissions boundaries do not provide permissions. You must also attach a permissions policy to the role. To learn how the effective permissions for a role are evaluated, see IAM JSON Policy Evaluation Logic in the IAM User Guide.

Request syntax

1
2
3
4
svc$put_role_permissions_boundary(
  RoleName = "string",
  PermissionsBoundary = "string"
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.