Overview of createdby tags

更新时间:
复制 MD 格式

A createdby tag is a system tag that Alibaba Cloud automatically generates and attaches to a resource to identify its creator. These tags help you analyze bills and manage your cloud costs.

Createdby tag format

Parameter

Format

tag key

acs:tag:createdby

tag value

  • If the resource is created by an Alibaba Cloud account (root account): customer:<AccountId>, where <AccountId> is the Alibaba Cloud account ID.

  • If the resource is created by a RAM user: sub:<RamUserId>:<RamUserName>, where <RamUserId> is the RAM user ID and <RamUserName> is the RAM user name.

  • If the resource is created by an identity that assumes a RAM role by using a Security Token Service (STS) token:

    • If the role is assumed by an Alibaba Cloud account: assumedRoleUser:<RamRoleName>:<RolePlayerId>, where <RamRoleName> is the RAM role name and <RolePlayerId> is the ID of the Alibaba Cloud account that assumes the role.

    • If the role is assumed by an Alibaba Cloud service: assumedRoleUser:<RamRoleName>:<ServiceName>, where <RamRoleName> is the RAM role name and <ServiceName> is the name of the Alibaba Cloud service that assumes the role.

Use createdby tags

  1. Enable createdby tags in the Tag console.

    For detailed instructions, see Enable createdby tags.

  2. The system automatically applies createdby tags to newly created resources.

    The system automatically applies createdby tags only to supported resources. For more information, see Alibaba Cloud services that support createdby tags.

  3. View your createdby tags.

    For detailed instructions, see View createdby tags.

Supported services

In the console

  1. Log on to the Tag Console.

  2. In the left-side navigation pane, choose Tag > Tag.

  3. Click Resource Types Supported by Tag.

  4. View the cloud services and resource types that support createdby tags.

    • In the Createdby Tag-based Cost Allocation column, check whether the resource type supports createdby tag-based cost allocation.

    • In the Createdby Tag Console Support column, check whether the cloud resource console supports createdby tag console visibility.

By API

Call ListSupportResourceTypes to view the cloud services and resource types that support createdby tags. Valid values of the SupportCode parameter:

  • CREATED_BY_TAG_BILL_SUPPORT: Indicates whether a resource type supports createdby tag-based cost allocation.

  • CREATED_BY_TAG_CONSOLE_SUPPORT: Indicates whether the cloud resource console supports createdby tag console visibility.