iam_set_default_policy_version: Sets the specified version of the specified policy as the...

View source: R/iam_operations.R

iam_set_default_policy_versionR Documentation

Sets the specified version of the specified policy as the policy's default (operative) version

Description

Sets the specified version of the specified policy as the policy's default (operative) version.

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

Usage

iam_set_default_policy_version(PolicyArn, VersionId)

Arguments

PolicyArn

[required] The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set.

For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

VersionId

[required] The version of the policy to set as the default (operative) version.

For more information about managed policy versions, see Versioning for managed policies in the IAM User Guide.


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