amazonka-ec2-0.0.3: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone




Adds or overwrites one or more tags for the specified EC2 resource or resources. Each resource can have a maximum of 10 tags. Each tag consists of a key and optional value. Tag keys must be unique per resource.

For more information about tags, see Tagging Your Resources in the AmazonElastic Compute Cloud User Guide.



Request constructor

createTags :: CreateTags Source

CreateTags constructor.

The fields accessible through corresponding lenses are:

Request lenses

ct1Resources :: Lens' CreateTags [Text] Source

The IDs of one or more resources to tag. For example, ami-1a2b3c4d.

ct1Tags :: Lens' CreateTags [Tag] Source

One or more tags. The value parameter is required, but if you don't want the tag to have a value, specify the parameter with no value, and we set the value to an empty string.


Response constructor