deleteAttributes
Deletes one or more custom attributes from an Amazon ECS resource.
Samples
import aws.sdk.kotlin.services.ecs.model.Attribute
fun main() {
//sampleStart
// This example deletes an attribute named stack from a container instance.
val resp = ecsClient.deleteAttributes {
attributes = listOf<Attribute>(
Attribute {
name = "stack"
targetId = "aws:ecs:us-west-2:130757420319:container-instance/1c3be8ed-df30-47b4-8f1e-6e68ebd01f34"
}
)
}
//sampleEnd
}