Skip to main content

connectivity_infos

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

Overview

Nameconnectivity_infos
TypeResource
Idaws.greengrass.connectivity_infos

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
connectivity_infoarrayConnectivity info list.
messagestringA message about the connectivity info request.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_connectivity_infoselectthing_name, regionRetrieves the connectivity information for a core.
update_connectivity_infoupdatething_name, regionUpdates the connectivity information for the core. Any devices that belong to the group which has this core will receive this information in order to find the location of the core and connect to it.

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)
thing_namestringThe thing name.

SELECT examples

Retrieves the connectivity information for a core.

SELECT
connectivity_info,
message
FROM aws.greengrass.connectivity_infos
WHERE thing_name = '{{ thing_name }}' -- required
AND region = '{{ region }}' -- required
;

UPDATE examples

Updates the connectivity information for the core. Any devices that belong to the group which has this core will receive this information in order to find the location of the core and connect to it.

UPDATE aws.greengrass.connectivity_infos
SET
ConnectivityInfo = '{{ ConnectivityInfo }}'
WHERE
thing_name = '{{ thing_name }}' --required
AND region = '{{ region }}' --required
RETURNING
message,
version;