CostAllocationTag - Amazon Billing and Cost Management
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 or UserDefined type tags. AWSGenerated type tags are tags that Amazon defines and applies to support Amazon 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 Amazon 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 Amazon SDKs, see the following: