NAME
Paws::IAM::Tag
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::IAM::Tag object:
$service_obj->Method(Att1 => { Key => $value, ..., Value => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::Tag object:
$result = $service_obj->Method(...);
$result->Att1->Key
DESCRIPTION
A structure that represents user-provided metadata that can be associated with an IAM resource. For more information about tagging, see Tagging IAM resources (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the IAM User Guide.
ATTRIBUTES
REQUIRED Key => Str
The key name that can be used to look up or retrieve the associated value. For example, Department
or Cost Center
are common choices.
REQUIRED Value => Str
The value associated with this tag. For example, tags with a key name of Department
could have values such as Human Resources
, Accounting
, and Support
. Tags with a key name of Cost Center
might have values that consist of the number associated with the different cost centers in your company. Typically, many resources have tags with the same key name but with different values.
AWS always interprets the tag Value
as a single string. If you need to store an array, you can store comma-separated values in the string. However, you must interpret the value in your code.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::IAM
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues