service_topology_edges
Creates, updates, deletes, gets or lists a service_topology_edges resource.
Overview
| Name | service_topology_edges |
| Type | Resource |
| Id | aws.resiliencehubv2.service_topology_edges |
Fields
The following fields are returned by SELECT queries:
- list_service_topology_edges
| Name | Datatype | Description |
|---|---|---|
destination_account | string | The AWS account ID of the destination resource. (pattern: <code>\d{12}</code>) |
destination_region | string | The AWS Region of the destination resource. (pattern: <code>[a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]</code>) |
destination_resource_identifier | string | The identifier of the destination resource. |
properties_ | array | The properties of the topology edge. |
source_account | string | The AWS account ID of the source resource. (pattern: <code>\d{12}</code>) |
source_region | string | The AWS Region of the source resource. (pattern: <code>[a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]</code>) |
source_resource_identifier | string | The identifier of the source resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_service_topology_edges | select | serviceArn, region | maxResults, nextToken | Lists topology edges for a service. |
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) |
serviceArn | string | |
maxResults | integer | |
nextToken | string |
SELECT examples
- list_service_topology_edges
Lists topology edges for a service.
SELECT
destination_account,
destination_region,
destination_resource_identifier,
properties_,
source_account,
source_region,
source_resource_identifier
FROM aws.resiliencehubv2.service_topology_edges
WHERE serviceArn = '{{ serviceArn }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;