Class: Aws::IAM::Types::TagMFADeviceRequest

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

Overview

Note:

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

{
  serial_number: "serialNumberType", # required
  tags: [ # required
    {
      key: "tagKeyType", # required
      value: "tagValueType", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#serial_numberString

The unique identifier for the IAM virtual MFA device to which you want to add tags. For virtual MFA devices, the serial number is the same as the ARN.

This parameter accepts (through its regex pattern) a string of characters that consist of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-

Returns:

  • (String)


11111
11112
11113
11114
11115
11116
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11111

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

#tagsArray<Types::Tag>

The list of tags that you want to attach to the IAM virtual MFA device. Each tag consists of a key name and an associated value.

Returns:



11111
11112
11113
11114
11115
11116
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 11111

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