Question 635:
You are planning to schedule a daily job with AWS CloudWatch scheduled event and AWS Lambda function triggered by the event that will perform a daily health check on your applications running on a fleet of EC2 instances. To achieve this, you need to provide the EC2 instances’ name tags to identify the right resources. What is the correct way of passing the inputs in this case?
Answer options:
A.Configure the “Variables” option on the AWS CloudWatch scheduled event. B.You can modify the “Matched Event” option while selecting AWS Lambda as the trigger for CloudWatch scheduled event. C.You can set the “Constant (JSON text)” option while configuring the AWS Cloudwatch rule to trigger a Lambda function from AWS CloudWatch scheduled event. D.“Details” object of “Matched Event” can be configured while creating an AWS CloudWatch scheduled event.