pub trait EcsTaskRunner: Send + Sync {
// Required method
fn run_task(
&self,
account_id: &str,
cluster: &str,
task_definition: &str,
launch_type: Option<&str>,
count: usize,
) -> Result<(), String>;
}Expand description
Synthesize an ECS RunTask call from outside the ECS crate. Used by
EventBridge Scheduler and EventBridge Rules to start tasks without
depending directly on fakecloud_ecs.