Hi@akhtar,
You can temporarily set the state of an alarm for testing purposes. When the updated state differs from the previous value, the action configured for the appropriate state is invoked. The following example uses the set-alarm-state command to temporarily change the state of an Amazon CloudWatch alarm.
$ aws cloudwatch set-alarm-state --alarm-name "myalarm" --state-value ALARM --state-reason "testing purposes"