tagResource

Adds the specified tags to the given resource.

Samples


fun main() { 
   //sampleStart 
   // Adding tags to a Launch Wizard deployment resource.
val resp = launchWizardClient.tagResource {
    resourceArn = "arn:aws:launchwizard:us-east-1:123456789012:deployment/11111111-1111-1111-1111-111111111111"
    tags = mapOf<String, String>(
        "key1" to "value1",
        "key2" to "value2"
    )
} 
   //sampleEnd
}