Class: Aws::IAM::Types::TagPolicyRequest

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 ARN of the IAM customer managed policy to which you want to add tags.

This parameter allows (through its [regex pattern]) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)


10299
10300
10301
10302
10303
10304
# File 'lib/aws-sdk-iam/types.rb', line 10299

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

#tagsArray<Types::Tag>

The list of tags that you want to attach to the IAM customer managed policy. Each tag consists of a key name and an associated value.

Returns:



10299
10300
10301
10302
10303
10304
# File 'lib/aws-sdk-iam/types.rb', line 10299

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