task_definition_families
Creates, updates, deletes, gets or lists a task_definition_families resource.
Overview
| Name | task_definition_families |
| Type | Resource |
| Id | aws.ecs.task_definition_families |
Fields
The following fields are returned by SELECT queries:
- list_task_definition_families
| Name | Datatype | Description |
|---|---|---|
family | string | The list of task definition family names that match the ListTaskDefinitionFamilies request. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_task_definition_families | select | region | Returns a list of task definition families that are registered to your account. This list includes task definition families that no longer have any ACTIVE task definition revisions. You can filter out task definition families that don't contain any ACTIVE task definition revisions by setting the status parameter to ACTIVE. You can also filter the results with the familyPrefix parameter. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_task_definition_families
Returns a list of task definition families that are registered to your account. This list includes task definition families that no longer have any ACTIVE task definition revisions. You can filter out task definition families that don't contain any ACTIVE task definition revisions by setting the status parameter to ACTIVE. You can also filter the results with the familyPrefix parameter.
SELECT
family
FROM aws.ecs.task_definition_families
WHERE region = '{{ region }}' -- required
;