AWS SDK for .NET Documentation
CreateTagsRequest Class
AmazonAmazon.EC2.ModelCreateTagsRequest Did this page help you?   Yes   No    Tell us about it...
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.
Declaration Syntax
C#
public class CreateTagsRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
CreateTagsRequest()()()()
Initializes a new instance of the CreateTagsRequest class

Equals(Object)
Determines whether the specified Object is equal to the current 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.

Inheritance Hierarchy
Object
EC2Request
 CreateTagsRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)