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 = '{{ region }}' 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 }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

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 }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.groundstation.mission_profiles
WHERE
Identifier = '{{ id }}|{{ arn }}' AND
region = '{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

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