iam_put_user_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 user's permissions boundary. You can use an AWS managed policy or a customer managed policy to set the boundary for a user. Use the boundary to control the maximum permissions that the user can have. Setting a permissions boundary is an advanced feature that can affect the permissions for the user.

Usage

1
iam_put_user_permissions_boundary(UserName, PermissionsBoundary)

Arguments

UserName

[required] The name (friendly name, not ARN) of the IAM user 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 user.

Details

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

Request syntax

1
2
3
4
svc$put_user_permissions_boundary(
  UserName = "string",
  PermissionsBoundary = "string"
)

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