To trigger or test an Amazon CloudWatch alarm using the AWS CLI, you have to run the command in your terminal. Note: When using an AWS CLI command to trigger and test an existing CloudWatch alarm, make sure to log in to the specified AWS CLI profile. Otherwise, you can’t run any AWS CLI commands on your AWS account. Here are the steps to trigger a CloudWatch alarm and verify that the state has…

Source