Skip to main content

services_by_namespaces

Creates, updates, deletes, gets or lists a services_by_namespaces resource.

Overview​

Nameservices_by_namespaces
TypeResource
Idaws.ecs.services_by_namespaces

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
service_arnstringThe list of full ARN entries for each service that's associated with the specified namespace.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_services_by_namespaceselectregionThis 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples​

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
;