tagResource
inline suspend fun LightsailClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse
Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see the Amazon Lightsail Developer Guide.
The tag resource
operation supports tag-based access control via request tags and resource tags applied to the resource identified by resource name
. For more information, see the Amazon Lightsail Developer Guide.