Struct aws_sdk_iam::model::Tag [−][src]
Expand 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 in the IAM User Guide.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.key: Option<String>
The key name that can be used to look up or retrieve the associated value. For example,
Department
or Cost Center
are common choices.
value: Option<String>
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.
Amazon Web Services 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.
Implementations
The key name that can be used to look up or retrieve the associated value. For example,
Department
or Cost Center
are common choices.
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.
Amazon Web Services 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.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Tag
impl UnwindSafe for Tag
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more