Skip to main content

configs

Creates, updates, deletes or gets a config resource or lists configs in a region

Overview

Nameconfigs
TypeResource
DescriptionAWS Ground Station config resource type for CloudFormation.
Idaws.groundstation.configs

Fields

NameDatatypeDescription
namestring
tagsarray
typestring
config_dataobject
arnstring
idstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, ConfigData, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all configs in a region.

SELECT
region,
name,
tags,
type,
config_data,
arn,
id
FROM aws.groundstation.configs
WHERE region = 'us-east-1';

Gets all properties from an individual config.

SELECT
region,
name,
tags,
type,
config_data,
arn,
id
FROM aws.groundstation.configs
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';

INSERT example

Use the following StackQL query and manifest file to create a new config resource, using stack-deploy.

/*+ create */
INSERT INTO aws.groundstation.configs (
Name,
ConfigData,
region
)
SELECT
'{{ Name }}',
'{{ ConfigData }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.groundstation.configs
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';

Permissions

To operate on the configs resource, the following permissions are required:

Create

groundstation:CreateConfig,
groundstation:TagResource,
iam:PassRole

Read

groundstation:GetConfig,
groundstation:ListTagsForResource

Update

groundstation:UpdateConfig,
groundstation:ListTagsForResource,
groundstation:TagResource,
groundstation:UntagResource,
iam:PassRole

Delete

groundstation:DeleteConfig

List

groundstation:ListConfigs