Command option Sample:aws cloudwatch describe-alarm-history

Search command sample in the internet.It is the result.

Retrieves the history for the specified alarm.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/cloudwatch/describe-alarm-history.html

aws cloudwatch describe-alarm-history --alarm-name "myalarm" --history-item-type StateUpdate
    describe-alarm-history — AWS CLI 1.16.4 Command Reference : http://docs.aws.amazon.com/goto/aws-cli/monitoring-2010-08-01/DescribeAlarmHistory

aws のオプション一覧