This step is optional and only required if you want to test the solution in step 2.6 using a mock CloudWatch event. If you are not familiar with the AWS CLI or do not have the CLI installed we recommend skipping this step.
You will need to retreive your temporary security credentials to make programmatic requests for AWS resources using the AWS CLI. The temporary credentials provide the same permissions that you have with use long-term security credentials such as IAM user credentials with few exceptions.
On the event engine Team Dashboard landing page, select AWS Console
At this point, you will notice a pop up window with the required information under Credentials/CLI Snippets
Depending on your Operating System (OS) select Mac/Linux OR Windows,
Setup your environment by copy, pasting & executing each command via terminal
Check the command output for aws ec2 describe-instances to ensure the installation was successful