Skip to content

Delete Attributes

ecs_delete_attributes R Documentation

Deletes one or more custom attributes from an Amazon ECS resource

Description

Deletes one or more custom attributes from an Amazon ECS resource.

Usage

ecs_delete_attributes(cluster, attributes)

Arguments

cluster

The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to delete attributes. If you do not specify a cluster, the default cluster is assumed.

attributes

[required] The attributes to delete from your resource. You can specify up to 10 attributes for each request. For custom attributes, specify the attribute name and target ID, but don't specify the value. If you specify the target ID using the short form, you must also specify the target type.

Value

A list with the following syntax:

list(
  attributes = list(
    list(
      name = "string",
      value = "string",
      targetType = "container-instance",
      targetId = "string"
    )
  )
)

Request syntax

svc$delete_attributes(
  cluster = "string",
  attributes = list(
    list(
      name = "string",
      value = "string",
      targetType = "container-instance",
      targetId = "string"
    )
  )
)