Skip to main content

service_topology_edges

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

Overview

Nameservice_topology_edges
TypeResource
Idaws.resiliencehubv2.service_topology_edges

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
destination_accountstringThe AWS account ID of the destination resource. (pattern: <code>\d{12}</code>)
destination_regionstringThe 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_identifierstringThe identifier of the destination resource.
properties_arrayThe properties of the topology edge.
source_accountstringThe AWS account ID of the source resource. (pattern: <code>\d{12}</code>)
source_regionstringThe 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_identifierstringThe identifier of the source resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_service_topology_edgesselectserviceArn, regionmaxResults, nextTokenLists 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
serviceArnstring
maxResultsinteger
nextTokenstring

SELECT examples

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 }}'
;