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

View source: R/iam_operations.R

iam_put_role_permissions_boundaryR Documentation

Adds or updates the policy that is specified as the IAM role's permissions boundary

Description

Adds or updates the policy that is specified as the IAM role's permissions boundary. You can use an Amazon Web Services 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.

See https://www.paws-r-sdk.com/docs/iam_put_role_permissions_boundary/ for full documentation.

Usage

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 managed policy that is used to set the permissions boundary for the role.

A permissions boundary policy defines the maximum permissions that identity-based policies can grant to an entity, but does not grant permissions. Permissions boundaries do not define the maximum permissions that a resource-based policy can grant to an entity. To learn more, see Permissions boundaries for IAM entities in the IAM User Guide.

For more information about policy types, see Policy types in the IAM User Guide.


paws.security.identity documentation built on Sept. 12, 2023, 1:10 a.m.