services_by_namespaces
Creates, updates, deletes, gets or lists a services_by_namespaces resource.
Overview
| Name | services_by_namespaces |
| Type | Resource |
| Id | aws.ecs.services_by_namespaces |
Fields
The following fields are returned by SELECT queries:
- list_services_by_namespace
| Name | Datatype | Description |
|---|---|---|
service_arn | string | The list of full ARN entries for each service that's associated with the specified namespace. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_services_by_namespace | select | region | This operation lists all of the services that are associated with a Cloud Map namespace. This list might include services in different clusters. In contrast, ListServices can only list services in one cluster at a time. If you need to filter the list of services in a single cluster by various parameters, use ListServices. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide. |
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_services_by_namespace
This operation lists all of the services that are associated with a Cloud Map namespace. This list might include services in different clusters. In contrast, ListServices can only list services in one cluster at a time. If you need to filter the list of services in a single cluster by various parameters, use ListServices. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
SELECT
service_arn
FROM aws.ecs.services_by_namespaces
WHERE region = '{{ region }}' -- required
;