class_docstr: Creates an AWS ECS cluster.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:EcsCreateClusterOperator`
  
  :param cluster_name: The name of your cluster. If you don't specify a name for your
      cluster, you create a cluster that's named default.
  :param create_cluster_kwargs: Extra arguments for Cluster Creation.
  :param wait_for_completion: If True, waits for creation of the cluster to complete. (default: True)
  :param waiter_delay: The amount of time in seconds to wait between attempts,
      if not set then the default waiter value will be used.
  :param waiter_max_attempts: The maximum number of attempts to be made,
      if not set then the default waiter value will be used.
  :param deferrable: If True, the operator will wait asynchronously for the job to complete.
      This implies waiting for completion. This mode requires aiobotocore module to be installed.
      (default: False)
class_docstr_tok: ["Creates","an","AWS","ECS","cluster",".","..","seealso",":",":","For","more","information","on","how","to","use","this","operator",",","take","a","look","at","the","guide",":",":","ref",":","`","howto\/operator",":","EcsCreateClusterOperator","`",":","param","cluster_name",":","The","name","of","your","cluster",".","If","you","do","n't","specify","a","name","for","your","cluster",",","you","create","a","cluster","that","'s","named","default",".",":","param","create_cluster_kwargs",":","Extra","arguments","for","Cluster","Creation",".",":","param","wait_for_completion",":","If","True",",","waits","for","creation","of","the","cluster","to","complete",".","(","default",":","True",")",":","param","waiter_delay",":","The","amount","of","time","in","seconds","to","wait","between","attempts",",","if","not","set","then","the","default","waiter","value","will","be","used",".",":","param","waiter_max_attempts",":","The","maximum","number","of","attempts","to","be","made",",","if","not","set","then","the","default","waiter","value","will","be","used",".",":","param","deferrable",":","If","True",",","the","operator","will","wait","asynchronously","for","the","job","to","complete",".","This","implies","waiting","for","completion",".","This","mode","requires","aiobotocore","module","to","be","installed",".","(","default",":","False",")"]
code: def __init__(
      self,
      *,
      cluster_name: str,
      create_cluster_kwargs: dict | None = None,
      wait_for_completion: bool = True,
      waiter_delay: int = 15,
      waiter_max_attempts: int = 60,
      deferrable: bool = conf.getboolean(
          "operators", "default_deferrable", fallback=False
      ),
      **kwargs,
  ) -> None:
      super().__init__(**kwargs)
      self.cluster_name = cluster_name
      self.create_cluster_kwargs = create_cluster_kwargs or {}
      self.wait_for_completion = wait_for_completion
      self.waiter_delay = waiter_delay
      self.waiter_max_attempts = waiter_max_attempts
      self.deferrable = deferrable
  
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 EcsCreateClusterOperator object from inherited base classes: EcsBaseOperator with example: obj = EcsCreateClusterOperator()