A tag is a label that you can define and assign to AWS resources, including certain types of Amazon Macie resources. By using tags, you can identify, categorize, and manage resources in different ways, such as by purpose, owner, environment, or other criteria. For example, you can use tags to: apply policies, allocate costs, distinguish between versions of resources, or identify resources that support certain compliance requirements or workflows.
You can add tags to the following types of Macie resources:
-
Allow lists
-
Custom data identifiers
-
Filter rules and suppression rules for findings
-
Sensitive data discovery jobs
If you're the Macie administrator for an organization, you can also add tags to member accounts in your organization.
A resource can have as many as 50 tags. Each tag consists of a required tag key and an optional tag value. A tag key is a general label that acts as a category for a more specific tag value. A tag value acts as a descriptor for a tag key. For more information about tagging options and requirements, see Tagging fundamentals.
You can add tags to Macie resources in several ways. You can use Macie directly. You can also use the Tag Editor on the AWS Resource Groups console or tagging operations of the AWS Resource Groups Tagging API. AWS Resource Groups is a service that's designed to help you group and manage AWS resources as a single unit instead of individually. If you use Macie, you can add tags to a resource when you create the resource. You can also add tags to individual existing resources. With AWS Resource Groups, you can add tags in bulk for multiple existing resources spanning multiple AWS services, including Macie.
To add tags to a Macie resource
To add tags to an individual Macie resource, you can use the Amazon Macie console or the Amazon Macie API. To add tags to multiple Macie resources at the same time, use the AWS Resource Groups console or the AWS Resource Groups Tagging API. For more information, see the Tagging AWS Resources User Guide.
Important
Adding tags to a resource can affect access to the resource. Before you add a tag to a resource, review any AWS Identity and Access Management (IAM) policies that might use tags to control access to resources. For more information, see Controlling access to AWS resources using tags in the IAM User Guide.
When you create an allow list, custom data identifier, or sensitive data discovery job, the Amazon Macie console provides options for adding tags to the resource. Follow the instructions on the console to add tags to these types of resources when you create the resources. To add tags to a filter rule, suppression rule, or member account, you have to create the resource before you can add tags to it.
To add one or more tags to an existing resource by using the Amazon Macie console, follow these steps.
To add a tag to a resource
Open the Amazon Macie console at https://console.aws.amazon.com/macie/
. -
Depending on the type of resource that you want to add a tag to, do one of the following:
-
For an allow list, choose Allow lists in the navigation pane. In the table, select the checkbox for the list. Then choose Manage tags on the Actions menu.
-
For a custom data identifier, choose Custom data identifiers in the navigation pane. In the table, select the checkbox for the custom data identifier. Then choose Manage tags on the Actions menu.
-
For a filter or suppression rule, choose Findings in the navigation pane. In the Saved rules list, choose the edit icon (
) next to the rule. Then choose Manage tags.
-
For a member account in your organization, choose Accounts in the navigation pane. In the table, select the checkbox for the account. Then choose Manage tags on the Actions menu.
-
For a sensitive data discovery job, choose Jobs in the navigation pane. In the table, select the checkbox for the job. Then choose Manage tags on the Actions menu.
The Manage tags window lists all the tags that are currently assigned to the resource.
-
-
In the Manage tags window, choose Edit tags.
-
Choose Add tag.
-
In the Key box, enter the tag key for the tag to add to the resource. Then, in the Value box, optionally enter a tag value for the key.
A tag key can contain as many as 128 characters. A tag value can contain as many as 256 characters. The characters can be letters, numbers, spaces, or the following symbols: _ . : / = + - @
-
To add another tag to the resource, choose Add tag, and then repeat the preceding step. You can assign as many as 50 tags to a resource.
-
When you finish adding tags, choose Save.