AWS Ground Station
User Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Automating AWS Ground Station with CloudWatch Events

Amazon CloudWatch Events enables you to automate your AWS services and respond automatically to system events such as application availability issues or resource changes. Events from AWS services are delivered to CloudWatch Events in near real time. You can write simple rules to indicate which events are of interest to you, and what automated actions to take when an event matches a rule. The actions that can be automatically triggered include the following:

  • Invoking an AWS Lambda function

  • Invoking Amazon EC2 Run Command

  • Relaying the event to Amazon Kinesis Data Streams

  • Activating an AWS Step Functions state machine

  • Notifying an Amazon SNS topic or an AWS SMS queue

Some examples of using CloudWatch Events with AWS Ground Station include:

  • Invoking a Lambda function to start or wake an Amazon EC2 instance during a contact’s pre-pass state.

  • Notifying an Amazon SNS topic whenever a contact is completed.

For more information, see the Amazon CloudWatch Events User Guide.

Example CloudWatch Events

Ground Station Contact Stage Change

{ "version": "0", "id": "01234567-0123-0123", "detail-type": "Ground Station Contact State Change", "source": "aws.groundstation", "account": "123456789012", "time": "2019-05-30T17:40:30Z", "region": "us-east-1", "resources": [ "arn:aws:groundstation:us-west-2:123456789012:contact/11111111-2222-3333-4444-555555555555" ], "detail": { "contactId": "11111111-2222-3333-4444-555555555555", "groundstationId": "11111111-2222-3333-4444-555555555555", "missionProfileArn": "arn:aws:groundstation:us-west-2:123456789012:mission-profile/11111111-2222-3333-4444-555555555555", "satelliteArn": "arn:aws:groundstation::123456789012:satellite/11111111-2222-3333-4444-555555555555", "contactStatus": "PREPASS" } }