Class: Aws::IAM::Types::SetDefaultPolicyVersionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::SetDefaultPolicyVersionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iam/types.rb
Overview
When making an API call, you may pass SetDefaultPolicyVersionRequest data as a hash:
{
policy_arn: "arnType", # required
version_id: "policyVersionIdType", # required
}
Instance Attribute Summary collapse
-
#policy_arn ⇒ String
The Amazon Resource Name (ARN) of the IAM policy whose default version you want to set.
-
#version_id ⇒ String
The version of the policy to set as the default (operative) version.
Instance Attribute Details
#policy_arn ⇒ String
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) and AWS Service Namespaces] in the *AWS General Reference*.
[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
8528 8529 8530 8531 8532 |
# File 'lib/aws-sdk-iam/types.rb', line 8528 class SetDefaultPolicyVersionRequest < Struct.new( :policy_arn, :version_id) include Aws::Structure end |
#version_id ⇒ String
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
8528 8529 8530 8531 8532 |
# File 'lib/aws-sdk-iam/types.rb', line 8528 class SetDefaultPolicyVersionRequest < Struct.new( :policy_arn, :version_id) include Aws::Structure end |