class_docstr: Register a task definition on AWS ECS.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:EcsRegisterTaskDefinitionOperator`
  
  :param family: The family name of a task definition to create.
  :param container_definitions: A list of container definitions in JSON format that describe
      the different containers that make up your task.
  :param register_task_kwargs: Extra arguments for Register Task Definition.
class_docstr_tok: ["Register","a","task","definition","on","AWS","ECS",".","..","seealso",":",":","For","more","information","on","how","to","use","this","operator",",","take","a","look","at","the","guide",":",":","ref",":","`","howto\/operator",":","EcsRegisterTaskDefinitionOperator","`",":","param","family",":","The","family","name","of","a","task","definition","to","create",".",":","param","container_definitions",":","A","list","of","container","definitions","in","JSON","format","that","describe","the","different","containers","that","make","up","your","task",".",":","param","register_task_kwargs",":","Extra","arguments","for","Register","Task","Definition","."]
code: def __init__(
      self,
      *,
      family: str,
      container_definitions: list[dict],
      register_task_kwargs: dict | None = None,
      **kwargs,
  ):
      if (
          "wait_for_completion" in kwargs
          or "waiter_delay" in kwargs
          or "waiter_max_attempts" in kwargs
      ):
          warnings.warn(
              "'wait_for_completion' and waiter related params have no effect and are deprecated, "
              "please remove them.",
              AirflowProviderDeprecationWarning,
              stacklevel=2,
          )
          # remove args to not trigger Invalid arguments exception
          kwargs.pop("wait_for_completion", None)
          kwargs.pop("waiter_delay", None)
          kwargs.pop("waiter_max_attempts", None)
  
      super().__init__(**kwargs)
      self.family = family
      self.container_definitions = container_definitions
      self.register_task_kwargs = register_task_kwargs or {}
  
imports: from __future__ import annotations
  import re
  import warnings
  from datetime import timedelta
  from functools import cached_property
  from typing import TYPE_CHECKING, Sequence
  from airflow.configuration import conf
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
  from airflow.providers.amazon.aws.exceptions import EcsOperatorError, EcsTaskFailToStart
  from airflow.providers.amazon.aws.hooks.base_aws import AwsBaseHook
  from airflow.providers.amazon.aws.hooks.ecs import EcsClusterStates, EcsHook, should_retry_eni
  from airflow.providers.amazon.aws.hooks.logs import AwsLogsHook
  from airflow.providers.amazon.aws.operators.base_aws import AwsBaseOperator
  from airflow.providers.amazon.aws.triggers.ecs import ClusterActiveTrigger, ClusterInactiveTrigger, TaskDoneTrigger
  from airflow.providers.amazon.aws.utils.identifiers import generate_uuid
  from airflow.providers.amazon.aws.utils.mixins import aws_template_fields
  from airflow.providers.amazon.aws.utils.task_log_fetcher import AwsTaskLogFetcher
  from airflow.utils.helpers import prune_dict
label_desc: Use image node_id 1 to create a new EcsRegisterTaskDefinitionOperator object from inherited base classes: EcsBaseOperator with example: obj = EcsRegisterTaskDefinitionOperator()