Run a Batch Task to Completion
A 2-step recipe with Amazon Fargate. We can help you get access.
Recipe · 2 steps
Run a Batch Task to Completion
with Amazon Fargate
Run a single Fargate task from an existing definition and wait until it stops.
- Run a single Fargate task from the supplied task definition.
- Poll DescribeTasks until the task reaches STOPPED, re-entering this step while the task is still provisioning, pending, or running.
What you'll need to have ready
- cluster: Name or ARN of the cluster to run the task in.
- taskDefinition: Family:revision or ARN of the task definition to run.
- subnets: Subnet IDs for the awsvpc network configuration.
- securityGroups: Security group IDs for the awsvpc network configuration.
- assignPublicIp: Whether to assign a public IP (ENABLED or DISABLED).
For your developer
Arazzo workflow amazon-fargate:run-batch-task-to-completion, 2 operations: runTask → describeTasks. Specs on APIs.io.