mission_profiles
Creates, updates, deletes or gets a mission_profile
resource or lists mission_profiles
in a region
Overview
Name | mission_profiles |
Type | Resource |
Description | AWS Ground Station Mission Profile resource type for CloudFormation. |
Id | aws.groundstation.mission_profiles |
Fields
Name | Datatype | Description |
---|---|---|
name | string | A name used to identify a mission profile. |
contact_pre_pass_duration_seconds | integer | Pre-pass time needed before the contact. |
contact_post_pass_duration_seconds | integer | Post-pass time needed after the contact. |
minimum_viable_contact_duration_seconds | integer | Visibilities with shorter duration than the specified minimum viable contact duration will be ignored when searching for available contacts. |
streams_kms_key | object | The ARN of a KMS Key used for encrypting data during transmission from the source to destination locations. |
streams_kms_role | string | The ARN of the KMS Key or Alias Key role used to define permissions on KMS Key usage. |
dataflow_edges | array | |
tracking_config_arn | string | |
tags | array | |
id | string | |
arn | string | |
region | string | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | Name, MinimumViableContactDurationSeconds, DataflowEdges, TrackingConfigArn, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all mission_profiles
in a region.
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 aws.groundstation.mission_profiles
WHERE region = 'us-east-1';
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 aws.groundstation.mission_profiles
WHERE region = 'us-east-1' AND data__Identifier = '<Id>|<Arn>';
INSERT
example
Use the following StackQL query and manifest file to create a new mission_profile
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.groundstation.mission_profiles (
Name,
MinimumViableContactDurationSeconds,
DataflowEdges,
TrackingConfigArn,
region
)
SELECT
'{{ Name }}',
'{{ MinimumViableContactDurationSeconds }}',
'{{ DataflowEdges }}',
'{{ TrackingConfigArn }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.groundstation.mission_profiles (
Name,
ContactPrePassDurationSeconds,
ContactPostPassDurationSeconds,
MinimumViableContactDurationSeconds,
StreamsKmsKey,
StreamsKmsRole,
DataflowEdges,
TrackingConfigArn,
Tags,
region
)
SELECT
'{{ Name }}',
'{{ ContactPrePassDurationSeconds }}',
'{{ ContactPostPassDurationSeconds }}',
'{{ MinimumViableContactDurationSeconds }}',
'{{ StreamsKmsKey }}',
'{{ StreamsKmsRole }}',
'{{ DataflowEdges }}',
'{{ TrackingConfigArn }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: mission_profile
props:
- name: Name
value: '{{ Name }}'
- name: ContactPrePassDurationSeconds
value: '{{ ContactPrePassDurationSeconds }}'
- name: ContactPostPassDurationSeconds
value: '{{ ContactPostPassDurationSeconds }}'
- name: MinimumViableContactDurationSeconds
value: '{{ MinimumViableContactDurationSeconds }}'
- name: StreamsKmsKey
value:
KmsKeyArn: '{{ KmsKeyArn }}'
KmsAliasArn: '{{ KmsAliasArn }}'
- name: StreamsKmsRole
value: '{{ StreamsKmsRole }}'
- name: DataflowEdges
value:
- Source: '{{ Source }}'
Destination: '{{ Destination }}'
- name: TrackingConfigArn
value: '{{ TrackingConfigArn }}'
- name: Tags
value:
- Key: '{{ Key }}'
Value: '{{ Value }}'
DELETE
example
/*+ delete */
DELETE FROM aws.groundstation.mission_profiles
WHERE data__Identifier = '<Id|Arn>'
AND region = 'us-east-1';
Permissions
To operate on the mission_profiles
resource, the following permissions are required:
Create
groundstation:CreateMissionProfile,
groundstation:GetMissionProfile,
groundstation:TagResource,
iam:PassRole,
kms:DescribeKey,
kms:CreateGrant
Read
groundstation:GetMissionProfile,
groundstation:ListTagsForResource,
kms:DescribeKey,
kms:CreateGrant
Update
groundstation:UpdateMissionProfile,
groundstation:GetMissionProfile,
groundstation:ListTagsForResource,
groundstation:TagResource,
groundstation:UntagResource,
iam:PassRole,
kms:DescribeKey,
kms:CreateGrant
Delete
groundstation:DeleteMissionProfile,
groundstation:GetMissionProfile
List
groundstation:ListMissionProfiles