class_docstr: Trigger for EksCreateNodegroupOperator.
  
  The trigger will asynchronously poll the boto3 API and wait for the
  nodegroup to be in the state specified by the waiter.
  
  :param waiter_name: Name of the waiter to use, for instance 'nodegroup_active' or 'nodegroup_deleted'
  :param cluster_name: The name of the EKS cluster associated with the node group.
  :param nodegroup_name: The name of the nodegroup to check.
  :param waiter_delay: The amount of time in seconds to wait between attempts.
  :param waiter_max_attempts: The maximum number of attempts to be made.
  :param aws_conn_id: The Airflow connection used for AWS credentials.
  :param region: Which AWS region the connection should use. (templated)
      If this is None or empty then the default boto3 behaviour is used.
class_docstr_tok: ["Trigger","for","EksCreateNodegroupOperator",".","The","trigger","will","asynchronously","poll","the","boto3","API","and","wait","for","the","nodegroup","to","be","in","the","state","specified","by","the","waiter",".",":","param","waiter_name",":","Name","of","the","waiter","to","use",",","for","instance","'nodegroup_active","'","or","'nodegroup_deleted'",":","param","cluster_name",":","The","name","of","the","EKS","cluster","associated","with","the","node","group",".",":","param","nodegroup_name",":","The","name","of","the","nodegroup","to","check",".",":","param","waiter_delay",":","The","amount","of","time","in","seconds","to","wait","between","attempts",".",":","param","waiter_max_attempts",":","The","maximum","number","of","attempts","to","be","made",".",":","param","aws_conn_id",":","The","Airflow","connection","used","for","AWS","credentials",".",":","param","region",":","Which","AWS","region","the","connection","should","use",".","(","templated",")","If","this","is","None","or","empty","then","the","default","boto3","behaviour","is","used","."]
code: def hook(self) -> AwsGenericHook:
      return EksHook(
          aws_conn_id=self.aws_conn_id, region_name=self.region_name
      )
  
imports: from __future__ import annotations
  import warnings
  from typing import TYPE_CHECKING, Any
  from botocore.exceptions import ClientError
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
  from airflow.providers.amazon.aws.hooks.eks import EksHook
  from airflow.providers.amazon.aws.triggers.base import AwsBaseWaiterTrigger
  from airflow.providers.amazon.aws.utils.waiter_with_logging import async_wait
  from airflow.triggers.base import TriggerEvent
label_desc: Use image node_id 2 for calling the EksCreateNodegroupTrigger obj's underlying member method code with example usage: obj.hook() and returns: EksHook