# Automatic tagging rule for entities in AWS Account

**URL:** <https://community.dynatrace.com/t/automatic-tagging-rule-for-entities-in-aws-account/36247>\
**Category:** Cloud platforms\
**Tags:** aws, tagging\
**Created:** [August 17, 2022, 7:29am UTC](https://community.dynatrace.com/t/automatic-tagging-rule-for-entities-in-aws-account/36247 "2022-08-17T07:29:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ext-Antti\_Elonh](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@ext-Antti\_Elonh](https://community.dynatrace.com/u/ext-Antti_Elonh)\
**Post date:** [August 17, 2022, 7:29am UTC](https://community.dynatrace.com/t/automatic-tagging-rule-for-entities-in-aws-account/36247/1 "2022-08-17T07:29:44Z")

</div>

Hi,

Is it possible to create an automatic tagging rule which would tag the entities belonging to different AWS Accounts with the name given to the AWS Account? I’ve been only able to select all the entities in one account with an entity selector like this:

```auto
type("CUSTOM_DEVICE"),fromRelationships.isAccessibleBy(type("AWS_CREDENTIALS"),entityId("AWS_CREDENTIALS-<ID>"))

```

What I would like is to create AWSAccount tag which would have the name from the AWS\_CREDENTIALS as the value. This would help a lot when creating dashboards and alerting profiles.

---

<div class="post-metadata">

**Author:** ![techean](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/techean/32/227_2.png) [@techean](https://community.dynatrace.com/u/techean)\
**Post date:** [August 18, 2022, 5:53am UTC](https://community.dynatrace.com/t/automatic-tagging-rule-for-entities-in-aws-account/36247/2 "2022-08-18T05:53:49Z")

</div>

Currently this is not possible to best of my knowledge. All we can do is create rules on service or process properties.

---

<div class="post-metadata">

**Author:** ![vishnu\_kumar](https://avatars.discourse-cdn.com/v4/letter/v/df705f/32.png) [@vishnu\_kumar](https://community.dynatrace.com/u/vishnu_kumar)\
**Post date:** [April 14, 2025, 7:58am UTC](https://community.dynatrace.com/t/automatic-tagging-rule-for-entities-in-aws-account/36247/3 "2025-04-14T07:58:14Z")

</div>

Reopening this old thread, has any new solutions opened up recently for this?
