v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1456373564.1 KB

Create or update an attribute on an Amazon ECS resource. If the attribute doesn't exist, it's created. If the attribute exists, its value is replaced with the specified value. To delete an attribute, use <a>DeleteAttributes</a>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes">Attributes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.

post/#X-Amz-Target=AmazonEC2ContainerServiceV20141113.PutAttributes

Headers

X-Amz-Target'AmazonEC2ContainerServiceV20141113.PutAttributes' required

Request body

clusterstring

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

Response

Success