Amazon EventBridge tags - Amazon EventBridge
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).

Amazon EventBridge tags

A tag is a custom attribute label that you or Amazon assigns to an Amazon resource. In EventBridge, you can assign tags to rule and event buses. Each resource can have a maximum of 50 tags.

You use tags to identify and organize your Amazon resources. Many Amazon services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you could assign the same tag to an EventBridge rule that you assign to an EC2 instance.

A tag has two parts:

  • A tag key, for example, CostCenter, Environment, or Project.

    • Tag keys are case sensitive.

    • The maximum tag key length is 128 Unicode characters in UTF-8.

    • For each resource, each tag key must be unique.

    • Allowed characters are letters, numbers, spaces representable in UTF-8, and the following characters: . : + = @ _ / - (hyphen).

    • The aws: prefix is prohibited for tags because it's reserved for Amazon use. You can't edit or delete tag keys or values with this prefix. Tags with this prefix don't count against your tags per resource limit.

  • An optional tag value field, for example, 111122223333 or Production.

    • Each tag key can have only one value.

    • Tag values are case sensitive.

    • Omitting the tag value is the same as using an empty string.

    • The maximum tag value length is 256 Unicode characters in UTF-8.

    • Allowed characters are letters, numbers, spaces representable in UTF-8, and the following characters: . : + = @ _ / - (hyphen).

Tip

As a best practice, decide on a strategy for capitalizing tags and consistently implement that strategy across all resource types. For example, decide whether to use Costcenter, costcenter, or CostCenter and then use the same convention for all tags.