Aws Scheduler
When to Use AWS Scheduler
How Brighter Integrates with AWS Scheduler
1. Direct to Target (Recommended)
2. Via FireAwsScheduler Message
IAM Role Requirements
Trust Policy
Permissions Policy
Automatic Role Creation
NuGet Packages
AWS SDK v4 (Recommended)
AWS SDK v3 (Legacy)
Configuration
Basic Configuration
Configuration with Dispatcher (FireAwsScheduler Handler)
Configuration with Scheduler Groups
Configuration with Flexible Time Window
Configuration with Custom Scheduler ID
Code Examples
Basic Scheduling with Delay
Scheduling with Absolute Time
Cancelling a Scheduled Job
Publishing Events with Delay
Scheduling Modes Comparison
Feature
Direct to Target
Via FireAwsScheduler
Comparison with Other Schedulers
Feature
AWS Scheduler
Quartz.NET
Hangfire
InMemory
Best Practices
1. Use Direct to Target for Messages
2. Limit IAM Role Permissions
3. Use Scheduler Groups for Organization
4. Handle OnConflict Appropriately
5. Use Custom Scheduler IDs for Idempotency
6. Monitor AWS Scheduler Metrics
7. Use Flexible Time Windows for Cost Optimization
8. Test with LocalStack
Troubleshooting
Schedules Not Executing
Access Denied Errors
Schedule Conflicts
High Costs
Migration from Other Schedulers
From InMemory Scheduler
From Quartz or Hangfire to AWS Scheduler
Related Documentation
External Links
Summary
Last updated
Was this helpful?
