Learn R Programming

paws.security.identity (version 0.7.0)

iam_set_default_policy_version: 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.