{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-eks/json-schema/amazon-eks-update-pod-identity-association-request-schema.json",
  "title": "UpdatePodIdentityAssociationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-eks-pod-identity-associations-api-openapi.yml#/components/schemas/UpdatePodIdentityAssociationRequest",
  "type": "object",
  "properties": {
    "clusterName": {
      "type": "string",
      "description": "The name of the cluster that you want to update the association in."
    },
    "associationId": {
      "type": "string",
      "description": "The ID of the association to be updated."
    },
    "roleArn": {
      "type": "string",
      "description": "The new IAM role to change in the association."
    },
    "clientRequestToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."
    },
    "disableSessionTags": {
      "type": "boolean",
      "description": "Disable the automatic sessions tags that are appended by EKS Pod Identity. EKS Pod Identity adds a pre-defined set of session tags when it assumes the role. You can use these tags to author a single role that can work across resources by allowing access to Amazon Web Services resources based on matching tags. By default, EKS Pod Identity attaches six tags, including tags for cluster name, namespace, and service account name. For the list of tags added by EKS Pod Identity, see List of session tags added by EKS Pod Identity in the Amazon EKS User Guide. Amazon Web Services compresses inline sess"
    },
    "targetRoleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the target IAM role to associate with the service account. This role is assumed by using the EKS Pod Identity association role, then the credentials for this role are injected into the Pod. When you run applications on Amazon EKS, your application might need to access Amazon Web Services resources from a different role that exists in the same or different Amazon Web Services account. For example, your application running in “Account A” might need to access resources, such as buckets in “Account B” or within “Account A” itself. You can create a association to a"
    },
    "policy": {
      "type": "string",
      "description": "An optional IAM policy in JSON format (as an escaped string) that applies additional restrictions to this pod identity association beyond the IAM policies attached to the IAM role. This policy is applied as the intersection of the role's policies and this policy, allowing you to reduce the permissions that applications in the pods can use. Use this policy to enforce least privilege access while still leveraging a shared IAM role across multiple applications. Important considerations Session tags: When using this policy, disableSessionTags must be set to true. Target role permissions: If you sp"
    }
  },
  "required": [
    "clusterName",
    "associationId"
  ]
}