class_docstr: Executes a task in a Kubernetes pod on the specified Amazon EKS Cluster.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:EksPodOperator`
  
  :param cluster_name: The name of the Amazon EKS Cluster to execute the task on. (templated)
  :param in_cluster: If True, look for config inside the cluster; if False look for a local file path.
  :param namespace: The namespace in which to execute the pod. (templated)
  :param pod_name: The unique name to give the pod. (templated)
  :param aws_profile: The named profile containing the credentials for the AWS CLI tool to use.
  :param region: Which AWS region the connection should use. (templated)
       If this is None or empty then the default boto3 behaviour is used.
  :param aws_conn_id: The Airflow connection used for AWS credentials. (templated)
       If this is None or empty then the default boto3 behaviour is used. If
       running Airflow in a distributed manner and aws_conn_id is None or
       empty, then the default boto3 configuration would be used (and must be
       maintained on each worker node).
  :param on_finish_action: What to do when the pod reaches its final state, or the execution is interrupted.
      If "delete_pod", the pod will be deleted regardless its state; if "delete_succeeded_pod",
      only succeeded pod will be deleted. You can set to "keep_pod" to keep the pod.
      Current default is `keep_pod`, but this will be changed in the next major release of this provider.
  :param is_delete_operator_pod: What to do when the pod reaches its final
      state, or the execution is interrupted. If True, delete the
      pod; if False, leave the pod. Current default is False, but this will be
      changed in the next major release of this provider.
      Deprecated - use `on_finish_action` instead.
class_docstr_tok: ["Executes","a","task","in","a","Kubernetes","pod","on","the","specified","Amazon","EKS","Cluster",".","..","seealso",":",":","For","more","information","on","how","to","use","this","operator",",","take","a","look","at","the","guide",":",":","ref",":","`","howto\/operator",":","EksPodOperator","`",":","param","cluster_name",":","The","name","of","the","Amazon","EKS","Cluster","to","execute","the","task","on",".","(","templated",")",":","param","in_cluster",":","If","True",",","look","for","config","inside","the","cluster",";","if","False","look","for","a","local","file","path",".",":","param","namespace",":","The","namespace","in","which","to","execute","the","pod",".","(","templated",")",":","param","pod_name",":","The","unique","name","to","give","the","pod",".","(","templated",")",":","param","aws_profile",":","The","named","profile","containing","the","credentials","for","the","AWS","CLI","tool","to","use",".",":","param","region",":","Which","AWS","region","the","connection","should","use",".","(","templated",")","If","this","is","None","or","empty","then","the","default","boto3","behaviour","is","used",".",":","param","aws_conn_id",":","The","Airflow","connection","used","for","AWS","credentials",".","(","templated",")","If","this","is","None","or","empty","then","the","default","boto3","behaviour","is","used",".","If","running","Airflow","in","a","distributed","manner","and","aws_conn_id","is","None","or","empty",",","then","the","default","boto3","configuration","would","be","used","(","and","must","be","maintained","on","each","worker","node",")",".",":","param","on_finish_action",":","What","to","do","when","the","pod","reaches","its","final","state",",","or","the","execution","is","interrupted",".","If","``","delete_pod","''",",","the","pod","will","be","deleted","regardless","its","state",";","if","``","delete_succeeded_pod","''",",","only","succeeded","pod","will","be","deleted",".","You","can","set","to","``","keep_pod","''","to","keep","the","pod",".","Current","default","is","`","keep_pod","`",",","but","this","will","be","changed","in","the","next","major","release","of","this","provider",".",":","param","is_delete_operator_pod",":","What","to","do","when","the","pod","reaches","its","final","state",",","or","the","execution","is","interrupted",".","If","True",",","delete","the","pod",";","if","False",",","leave","the","pod",".","Current","default","is","False",",","but","this","will","be","changed","in","the","next","major","release","of","this","provider",".","Deprecated","-","use","`","on_finish_action","`","instead","."]
code: def execute(self, context: Context):
      eks_hook = EksHook(
          aws_conn_id=self.aws_conn_id,
          region_name=self.region,
      )
      with eks_hook.generate_config_file(
          eks_cluster_name=self.cluster_name,
          pod_namespace=self.namespace,
      ) as self.config_file:
          return super().execute(context)
  
imports: from __future__ import annotations
  import logging
  import warnings
  from ast import literal_eval
  from datetime import timedelta
  from functools import cached_property
  from typing import TYPE_CHECKING, Any, List, Sequence, cast
  from botocore.exceptions import ClientError, WaiterError
  from airflow.configuration import conf
  from airflow.exceptions import AirflowException, AirflowProviderDeprecationWarning
  from airflow.models import BaseOperator
  from airflow.providers.amazon.aws.hooks.eks import EksHook
  from airflow.providers.amazon.aws.triggers.eks import EksCreateClusterTrigger, EksCreateFargateProfileTrigger, EksCreateNodegroupTrigger, EksDeleteClusterTrigger, EksDeleteFargateProfileTrigger, EksDeleteNodegroupTrigger
  from airflow.providers.amazon.aws.utils.waiter_with_logging import wait
  from airflow.providers.cncf.kubernetes.utils.pod_manager import OnFinishAction
label_desc: Use image node_id 2 for calling the EksPodOperator obj's underlying member method code with example usage: obj.execute(context) and returns: super