CreateTags#

Description#

Creates tags.

Request Parameters#

  • ResourceId.N — The IDs of the resources for which tags must be created.

    • Type: Array of strings

    • Required: Yes

  • Tag.N — Tags to be created for each specified resource.

    • Type: List of Tag objects

    • Required: Yes

Response Elements#

  • requestId — The request ID.

    • Type: String

Examples#

c2-ec2 CreateTags ResourceId.1 <instance-id> ResourceId.2 <volume-id> Tag.1.Key key1 Tag.1.Value value1 Tag.2.Key key2 Tag.2.Value value2