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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

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)] in the *Amazon Web Services General Reference*.

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

Returns:

  • (String)


3715
3716
3717
3718
3719
3720
# File 'lib/aws-sdk-iam/types.rb', line 3715

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

#version_idString

Identifies the policy version to retrieve.

This parameter allows (through 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.

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)


3715
3716
3717
3718
3719
3720
# File 'lib/aws-sdk-iam/types.rb', line 3715

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