PodIdentityAssociationState class

Input properties used for looking up and filtering PodIdentityAssociation resources.

Constructors

PodIdentityAssociationState({Input<String?>? associationArn, Input<String?>? associationId, Input<String?>? clusterName, Input<bool?>? disableSessionTags, Input<String?>? externalId, Input<String?>? namespace, Input<String?>? policy, Input<String?>? region, Input<String?>? roleArn, Input<String?>? serviceAccount, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, 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.
const
PodIdentityAssociationState.fromMap(Map<String, dynamic> map)
factory

Properties

associationArn → Input<String?>?
ARN of the association.
final
associationId → Input<String?>?
The ID of the association.
final
clusterName → Input<String?>?
The name of the cluster to create the association in.
final
disableSessionTags → Input<bool?>?
Disable the tags that are automatically added to role session by Amazon EKS. Must be set to true when policy is specified.
final
externalId → Input<String?>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
namespace → Input<String?>?
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.
final
policy → Input<String?>?
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.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
roleArn → Input<String?>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccount → Input<String?>?
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.
final
tags → Input<Map<String, String>?>?
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.
final
tagsAll → Input<Map<String, String>?>?
A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final
targetRoleArn → Input<String?>?
ARN of the IAM role to be chained to the the IAM role specified as roleArn.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited