Skip to content

WorkloadIdentityConfigRequest

Source code in docs_src/capo_eks/types/workload_identity_config_request.py
class WorkloadIdentityConfigRequest(TypedDict, closed=True):
    enabled: NotRequired["capo_eks.types.boxed_boolean.BoxedBoolean"]
    """<p>Whether workload identity is enabled for the association. This value is required when you include <code>workloadIdentityConfig</code> in a create request. When you update an association, omit this value to keep the current value.</p>"""
    template_arn: NotRequired["capo_eks.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the IAM workload identity template to use for the association. The template defines how attested facts about the workload, such as its Kubernetes namespace, service account, and Pod, are rendered into the workload's SPIFFE ID. The template's policy defines the attestation that a Pod must satisfy to receive a workload identity.</p> <p>The template must be in the same Amazon Web Services account as the cluster. Provide <code>templateArn</code> and <code>providerArn</code> together.</p>"""
    provider_arn: NotRequired["capo_eks.types.string.String"]
    """<p>The Amazon Resource Name (ARN) of the IAM Workload Identity Provider to use for the association. The provider is the authority that issues the workload's identity context. It can be in the same Amazon Web Services account as the cluster, or it can be an organization-level provider. Provide <code>providerArn</code> and <code>templateArn</code> together.</p>"""

enabled instance-attribute

enabled: NotRequired[BoxedBoolean]

Whether workload identity is enabled for the association. This value is required when you include workloadIdentityConfig in a create request. When you update an association, omit this value to keep the current value.

provider_arn instance-attribute

provider_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the IAM Workload Identity Provider to use for the association. The provider is the authority that issues the workload's identity context. It can be in the same Amazon Web Services account as the cluster, or it can be an organization-level provider. Provide providerArn and templateArn together.

template_arn instance-attribute

template_arn: NotRequired[String]

The Amazon Resource Name (ARN) of the IAM workload identity template to use for the association. The template defines how attested facts about the workload, such as its Kubernetes namespace, service account, and Pod, are rendered into the workload's SPIFFE ID. The template's policy defines the attestation that a Pod must satisfy to receive a workload identity.

The template must be in the same Amazon Web Services account as the cluster. Provide templateArn and providerArn together.