Amazon CloudWatch Events helps you to respond to state changes in your AWS resources. When your resources change state, they automatically send events into an event stream. You can create rules that match selected events in the stream and route them to targets to take action. You can also use rules to take action on a schedule. For example, you can configure rules to:
Automatically invoke an AWS Lambda function to update DNS entries when an event notifies you that an EC2 instance entered the running state.
Direct specific API records from CloudTrail to an Amazon Kinesis stream for detailed analysis of potential security or availability risks.
Periodically invoke a built-in target to create a snapshot of an Amazon EBS volume.
For more information about CloudWatch Events features, see the Amazon CloudWatch Events User Guide.
Use the following links to get started using the CloudWatch Events Query API:
Actions: An alphabetical list of all CloudWatch Events actions.
Data Types: An alphabetical list of all CloudWatch Events data types.
Common Parameters: Parameters that all Query actions can use.
Common Errors: Client and server errors that all actions can return.
Regions and Endpoints: Supported regions and endpoints for all AWS products.
Alternatively, you can use one of the AWS SDKs to access CloudWatch Events using an API tailored to your programming language or platform.
Developers in the AWS developer community also provide their own libraries, which you can find at the following AWS developer centers: