Skip to content

Update Pod Identity Association

eks_update_pod_identity_association R Documentation

Updates a EKS Pod Identity association

Description

Updates a EKS Pod Identity association. Only the IAM role can be changed; an association can't be moved between clusters, namespaces, or service accounts. If you need to edit the namespace or service account, you need to delete the association and then create a new association with your desired settings.

Usage

eks_update_pod_identity_association(clusterName, associationId, roleArn,
  clientRequestToken)

Arguments

clusterName

[required] The name of the cluster that you want to update the association in.

associationId

[required] The ID of the association to be updated.

roleArn

The new IAM role to change the

clientRequestToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Value

A list with the following syntax:

list(
  association = list(
    clusterName = "string",
    namespace = "string",
    serviceAccount = "string",
    roleArn = "string",
    associationArn = "string",
    associationId = "string",
    tags = list(
      "string"
    ),
    createdAt = as.POSIXct(
      "2015-01-01"
    ),
    modifiedAt = as.POSIXct(
      "2015-01-01"
    ),
    ownerArn = "string"
  )
)

Request syntax

svc$update_pod_identity_association(
  clusterName = "string",
  associationId = "string",
  roleArn = "string",
  clientRequestToken = "string"
)