A Timer represents a CloudWatch schedule event. Amazon CloudWatch Events allow you to schedule messages that automate certain actions to be performed using cron or rate expressions.
Key Features of CloudWatch Events include:
- Declare resources to generate events, or create custom application events
- Target resources to perform actions based on your event
- Implement rules to customize event processing
The schedule for your Timer can be set as a simple interval in minutes, hours, or days, or using a cron expression.
Event subscription wires (solid line) connect two or more resources and are required to accomplish certain tasks or improve performance within an application's flow.
The following resources can be subscribed to a Timer:
Human readable name for this resource that is displayed on the Stackery Dashboard and Stackery CLI output.
The type of the schedule, either as a simple interval or a Cron specification
The count and unit of the scheduled interval.
The Cron expression specifying when events are emitted. The expression must contain the sixth "Year" field.
When connected by a service discovery wire (dashed wire), a Function or Docker Task will add the following IAM policy to its role and gain permission to access this resource.
No Permissions Added
When connected by a service discovery wire (dashed wire), a Function or Docker Task will automatically populate and reference the following environment variables in order to interact with this resource.
No Environment Variables Added
Metrics & Logs
Double clicking a resource while viewing your stack's current deployment gives you access to your pre-configured resource properties, and the following metrics and logs.
- Invocation Metrics
Related AWS Documentation
AWS Documentation: AWS::Events::Rule