Skip to main content

mission_profiles

Creates, updates, deletes or gets a mission_profile resource or lists mission_profiles in a region

Overview

Namemission_profiles
TypeResource
DescriptionAWS Ground Station Mission Profile resource type for CloudFormation.
Idawscc.groundstation.mission_profiles

Fields

NameDatatypeDescription
namestringA name used to identify a mission profile.
contact_pre_pass_duration_secondsintegerPre-pass time needed before the contact.
contact_post_pass_duration_secondsintegerPost-pass time needed after the contact.
minimum_viable_contact_duration_secondsintegerVisibilities with shorter duration than the specified minimum viable contact duration will be ignored when searching for available contacts.
streams_kms_keyobjectThe ARN of a KMS Key used for encrypting data during transmission from the source to destination locations.
streams_kms_rolestringThe ARN of the KMS Key or Alias Key role used to define permissions on KMS Key usage.
dataflow_edgesarray
tracking_config_arnstring
tagsarray
idstring
arnstring
regionstring
regionstringAWS region.

For more information, see AWS::GroundStation::MissionProfile.

Methods

NameResourceAccessible byRequired Params
create_resourcemission_profilesINSERTName, MinimumViableContactDurationSeconds, DataflowEdges, TrackingConfigArn, region
delete_resourcemission_profilesDELETEIdentifier, region
update_resourcemission_profilesUPDATEIdentifier, PatchDocument, region
list_resourcesmission_profiles_list_onlySELECTregion
get_resourcemission_profilesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual mission_profile.

SELECT
region,
name,
contact_pre_pass_duration_seconds,
contact_post_pass_duration_seconds,
minimum_viable_contact_duration_seconds,
streams_kms_key,
streams_kms_role,
dataflow_edges,
tracking_config_arn,
tags,
id,
arn,
region
FROM awscc.groundstation.mission_profiles
WHERE
region = 'us-east-1' AND
Identifier = '{{ id }}|{{ arn }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.groundstation.mission_profiles (
Name,
MinimumViableContactDurationSeconds,
DataflowEdges,
TrackingConfigArn,
region
)
SELECT
'{{ name }}',
'{{ minimum_viable_contact_duration_seconds }}',
'{{ dataflow_edges }}',
'{{ tracking_config_arn }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a mission_profile resource, using stack-deploy.

/*+ update */
UPDATE awscc.groundstation.mission_profiles
SET PatchDocument = string('{{ {
"Name": name,
"ContactPrePassDurationSeconds": contact_pre_pass_duration_seconds,
"ContactPostPassDurationSeconds": contact_post_pass_duration_seconds,
"MinimumViableContactDurationSeconds": minimum_viable_contact_duration_seconds,
"StreamsKmsKey": streams_kms_key,
"StreamsKmsRole": streams_kms_role,
"DataflowEdges": dataflow_edges,
"TrackingConfigArn": tracking_config_arn,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ id }}|{{ arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.groundstation.mission_profiles
WHERE
Identifier = '{{ id }}|{{ arn }}' AND
region = 'us-east-1';

Permissions

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

groundstation:CreateMissionProfile,
groundstation:GetMissionProfile,
groundstation:TagResource,
iam:PassRole,
kms:DescribeKey,
kms:CreateGrant