tagResource

Adds or updates tags for a specified dashboard resource.

Samples

import aws.sdk.kotlin.services.bcmdashboards.model.ResourceTag

fun main() { 
   //sampleStart 
   // Adding tag (s) to a resource
bcmDashboardsClient.tagResource {
    resourceArn = "arn:aws:bcm-dashboards::123456789012:dashboard/abcd1234-ab12-12ab-1ab2-abcd1234efgh"
    resourceTags = listOf<ResourceTag>(
        ResourceTag {
            key = "keyOne"
            value = "valueOne"
        }            
    )
} 
   //sampleEnd
}