Adds or overwrites tags for the specified resources.
Each resource can have a maximum of 10 tags.
Each tag consists of a key-value pair.
Tag keys must be unique per resource.
| C# |
public class CreateTagsRequest : EC2Request
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| CreateTagsRequest()()()() | Initializes a new instance of the CreateTagsRequest class | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| IsSetResourceId()()()() |
Checks if ResourceId property is set
| |
| IsSetTag()()()() |
Checks if Tag property is set
| |
| ResourceId |
One or more IDs of resources to tag.
| |
| Tag |
The tags to add or overwrite for the specified resources.
Each tag item consists of a key-value pair.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithResourceId(array<String>[]()[][]) | Obsolete.
Sets the IDs of resources to tag.
| |
| WithTag(array<Tag>[]()[][]) | Obsolete.
Sets the tags to add or overwrite for the specified resources.
|
| Object | ||
| EC2Request | ||
| CreateTagsRequest | ||