EksAccessEntry
¶
Source code in docs_src/capo_batch/types/eks_access_entry.py
desired_state
instance-attribute
¶
desired_state: NotRequired[EksAccessEntryDesiredState]
The desired access entry state for the compute environment. Valid values:
- ENABLED
-
Batch manages an access entry on the cluster for the compute environment.
- DISABLED
-
Batch deletes the Batch-managed access entry for the cluster. This value is rejected if the cluster's
authenticationModeisAPI, because such a cluster doesn't support theaws-authConfigMap. - INHERIT_FROM_CLUSTER
-
Batch defers to the cluster's current access entry
status. On a cluster whose authentication mode isAPI, Batch creates and manages an access entry. On a cluster whose authentication mode isAPI_AND_CONFIG_MAPorCONFIG_MAP, Batch neither adds nor removes an access entry.
status
instance-attribute
¶
status: NotRequired[EksAccessEntryStatus]
The observed state of the access entry on the cluster. ACTIVE means that an access entry for the compute environment exists on the cluster and takes precedence over the aws-auth ConfigMap. INACTIVE means that no Batch-managed access entry is present. This is a read-only field returned by DescribeComputeEnvironments.