Class: Aws::IAM::Types::SetDefaultPolicyVersionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iam/types.rb

Overview

Note:

When making an API call, you may pass SetDefaultPolicyVersionRequest data as a hash:

{
  policy_arn: "arnType", # required
  version_id: "policyVersionIdType", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_arnString

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*.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)

10341
10342
10343
10344
10345
10346
# File 'lib/aws-sdk-iam/types.rb', line 10341

class SetDefaultPolicyVersionRequest < Struct.new(
  :policy_arn,
  :version_id)
  SENSITIVE = []
  include Aws::Structure
end

#version_idString

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*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html

Returns:

  • (String)

10341
10342
10343
10344
10345
10346
# File 'lib/aws-sdk-iam/types.rb', line 10341

class SetDefaultPolicyVersionRequest < Struct.new(
  :policy_arn,
  :version_id)
  SENSITIVE = []
  include Aws::Structure
end