
EcsRegisterTaskDefinitionOperator
AmazonRegister a task definition on AWS ECS.
Access Instructions
Install the Amazon provider package into your Airflow environment.
Import the module into your DAG file and instantiate it with your desired params.
Parameters
familyRequiredThe family name of a task definition to create.
container_definitionsRequiredA list of container definitions in JSON format that describe the different containers that make up your task.
register_task_kwargsExtra arguments for Register Task Definition.
wait_for_completionIf True, waits for creation of the cluster to complete. (default: True)
waiter_delayThe amount of time in seconds to wait between attempts, if not set then the default waiter value will be used.
waiter_max_attemptsThe maximum number of attempts to be made, if not set then the default waiter value will be used.
Documentation
Register a task definition on AWS ECS.
See also
For more information on how to use this operator, take a look at the guide: Register a Task Definition