An EventBridge rule must trigger a Systems Manager Automation document when an EC2 instance changes to 'stopped' state. Which EventBridge event source and detail-type should the rule match?
-
A
source: aws.ec2, detail-type: EC2 Instance State-change Notification
-
B
source: aws.cloudwatch, detail-type: CloudWatch Alarm State Change
-
C
source: aws.ssm, detail-type: EC2 State Manager Association State Change
-
D
source: aws.health, detail-type: AWS Health Event