Skip to main content

configs

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

Overview

Nameconfigs
TypeResource
Idaws.groundstation.configs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringName of a Config.
config_arnstringARN of a Config (pattern: <code>arn:aws:groundstation:[-a-z0-9]{1,50}:[0-9]{12}:config/[a-z0-9]+(-[a-z0-9]+){0,4}/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(/.{1,256})?</code>)
config_dataobjectObject containing the parameters of a Config. See the subtype definitions for what each type of Config contains.
config_idstringUUID of a Config.
config_typestringType of a Config. (antenna-downlink, antenna-downlink-demod-decode, tracking, dataflow-endpoint, antenna-uplink, uplink-echo, s3-recording, telemetry-sink)
tagsobjectTags assigned to a Config.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_configselectconfig_id, config_type, regionReturns Config information. Only one Config response can be returned.
list_configsselectregionmaxResults, nextTokenReturns a list of Config objects.
create_configinsertregion, name, configDataCreates a Config with the specified configData parameters. Only one type of configData can be specified.
update_configupdateconfig_id, config_type, region, name, configDataUpdates the Config used when scheduling contacts. Updating a Config will not update the execution parameters for existing future contacts scheduled with this Config.
delete_configdeleteconfig_id, config_type, regionDeletes a Config.

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
config_idstringUUID of a Config.
config_typestringType of a Config.
regionstringAWS region (default: us-east-1)
maxResultsintegerMaximum number of Configs returned.
nextTokenstringNext token returned in the request of a previous ListConfigs call. Used to get the next page of results.

SELECT examples

Returns Config information. Only one Config response can be returned.

SELECT
name,
config_arn,
config_data,
config_id,
config_type,
tags
FROM aws.groundstation.configs
WHERE config_id = '{{ config_id }}' -- required
AND config_type = '{{ config_type }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a Config with the specified configData parameters. Only one type of configData can be specified.

INSERT INTO aws.groundstation.configs (
name,
configData,
tags,
region
)
SELECT
'{{ name }}' /* required */,
'{{ configData }}' /* required */,
'{{ tags }}',
'{{ region }}'
RETURNING
config_arn,
config_id,
config_type
;

UPDATE examples

Updates the Config used when scheduling contacts. Updating a Config will not update the execution parameters for existing future contacts scheduled with this Config.

UPDATE aws.groundstation.configs
SET
name = '{{ name }}',
configData = '{{ configData }}'
WHERE
config_id = '{{ config_id }}' --required
AND config_type = '{{ config_type }}' --required
AND region = '{{ region }}' --required
AND name = '{{ name }}' --required
AND configData = '{{ configData }}' --required
RETURNING
config_arn,
config_id,
config_type;

DELETE examples

Deletes a Config.

DELETE FROM aws.groundstation.configs
WHERE config_id = '{{ config_id }}' --required
AND config_type = '{{ config_type }}' --required
AND region = '{{ region }}' --required
;