AWS ECS Create Scheduled Tasks (cron) via Cloudformation
We want to create ScheduledTasks in AWS ECS via CloudFormation. Is there a programmatic way to create via boto or cloudformation? In order to define a scheduled ECS task in CloudFormation, you need to define a "AWS::Events::Rule" resource with an ECS task as a target. "TaskSchedule": { "Type": "AWS::Events::Rule", "Properties": { "Description": "dump data every workday at 10", "Name": "dump-data", "ScheduleExpression": "cron(0 10 ? * MON-FRI *)", "State": "ENABLED", "Targets": [ { "Id": "dump-data-ecs-task", "RoleArn": { "Fn::GetAtt": ["TaskSchedulerRole", "Arn"] }, "EcsParameters": {