PodIdentityAssociationState constructor

const PodIdentityAssociationState({
  1. Input<String?>? associationArn,
  2. Input<String?>? associationId,
  3. Input<String?>? clusterName,
  4. Input<bool?>? disableSessionTags,
  5. Input<String?>? externalId,
  6. Input<String?>? namespace,
  7. Input<String?>? policy,
  8. Input<String?>? region,
  9. Input<String?>? roleArn,
  10. Input<String?>? serviceAccount,
  11. Input<Map<String, String>?>? tags,
  12. Input<Map<String, String>?>? tagsAll,
  13. Input<String?>? targetRoleArn,
})

Creates a new PodIdentityAssociationState. associationArn ARN of the association. associationId The ID of the association. clusterName The name of the cluster to create the association in. disableSessionTags Disable the tags that are automatically added to role session by Amazon EKS. Must be set to true when policy is specified. externalId The unique identifier for this association for a target IAM role. You put this value in the trust policy of the target role, in a Condition to match the sts.ExternalId. namespace The name of the Kubernetes namespace inside the cluster to create the association in. The service account and the pods that use the service account must be in this namespace. policy An 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. The effective permissions are the intersection of the role's policies and this policy, allowing you to enforce least privilege across multiple associations that share the same role. Requires disableSessionTags = true. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. roleArn ARN of the IAM role to associate with the service account. The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account. serviceAccount The name of the Kubernetes service account inside the cluster to associate the IAM credentials with. tags Key-value map of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. targetRoleArn ARN of the IAM role to be chained to the the IAM role specified as roleArn.

Implementation

const PodIdentityAssociationState({
  this.associationArn,
  this.associationId,
  this.clusterName,
  this.disableSessionTags,
  this.externalId,
  this.namespace,
  this.policy,
  this.region,
  this.roleArn,
  this.serviceAccount,
  this.tags,
  this.tagsAll,
  this.targetRoleArn,
});