aws.ecs.list_attributes
Example SQL Queries
SELECT * FROMaws.ecs.list_attributesWHERE"target_type" = 'VALUE';Description
Lists the attributes for Amazon ECS resources within a specified target type and cluster. When you specify a target type and cluster, ListAttributes returns a list of attribute objects, one for each attribute on each resource. You can filter the list of results to a single attribute name to only return results that have that name. You can also filter the results by attribute name and value. You can do this, for example, to see which container instances in a cluster are running a Linux AMI (ecs.os-type=linux).
Table Definition
| Column Name | Column Data Type |
|---|---|
| target_type Required Input Column The type of the target to attach the attribute with. This parameter is required if you use the short form ID for a resource instead of the full ARN. | VARCHAR |
| attribute_name Input Column The name of the attribute to filter the results with. | VARCHAR |
| attribute_value Input Column The value of the attribute to filter results with. You must also specify an attribute name to use this parameter. | VARCHAR |
| cluster Input Column The short name or full Amazon Resource Name (ARN) of the cluster to list attributes. If you do not specify a cluster, the default cluster is assumed. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| name The name of the attribute. The name must contain between 1 and 128 characters. The name may contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), forward slashes (/), back slashes (\), or periods (.). | VARCHAR |
| target_id The ID of the target. You can specify the short form ID for a resource or the full Amazon Resource Name (ARN). | VARCHAR |
| value The value of the attribute. The value must contain between 1 and 128 characters. It can contain letters (uppercase and lowercase), numbers, hyphens (-), underscores (_), periods (.), at signs (@), forward slashes (/), back slashes (\), colons (:), or spaces. The value can't start or end with a space. | VARCHAR |