You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IAM::Types::GetPolicyVersionRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetPolicyVersionRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

Instance Attribute Summary collapse

Instance Attribute Details

#policy_arnString

The Amazon Resource Name (ARN) of the managed policy that you want information about.

For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the managed policy that you want information about.

#version_idString

Identifies the policy version to retrieve.

This parameter allows (per its regex pattern) a string of characters that consists of the lowercase letter \'v\' followed by one or two digits, and optionally followed by a period \'.\' and a string of letters and digits.

Returns:

  • (String)

    Identifies the policy version to retrieve.