CostAllocationTag
The cost allocation tag structure. This includes detailed metadata for the
CostAllocationTag
object.
Contents
- Status
-
The status of a cost allocation tag.
Type: String
Valid Values:
Active | Inactive
Required: Yes
- TagKey
-
The key for the cost allocation tag.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 1024.
Pattern:
[\S\s]*
Required: Yes
- Type
-
The type of cost allocation tag. You can use
AWSGenerated
orUserDefined
type tags.AWSGenerated
type tags are tags that AWS defines and applies to support AWS resources for cost allocation purposes.UserDefined
type tags are tags that you define, create, and apply to resources.Type: String
Valid Values:
AWSGenerated | UserDefined
Required: Yes
- LastUpdatedDate
-
The last date that the tag was either activated or deactivated.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 25.
Pattern:
^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(([+-]\d\d:\d\d)|Z)$
Required: No
- LastUsedDate
-
The last month that the tag was used on an AWS resource.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 25.
Pattern:
^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(([+-]\d\d:\d\d)|Z)$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: