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< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>String?> ? targetRoleArn}) -
Creates a new PodIdentityAssociationState.
associationArnARN of the association.associationIdThe ID of the association.clusterNameThe name of the cluster to create the association in.disableSessionTagsDisable the tags that are automatically added to role session by Amazon EKS. Must be set totruewhenpolicyis specified.externalIdThe 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.namespaceThe 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.policyAn 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. RequiresdisableSessionTags = true.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.roleArnARN 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.serviceAccountThe name of the Kubernetes service account inside the cluster to associate the IAM credentials with.tagsKey-value map of resource tags. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllA map of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.targetRoleArnARN of the IAM role to be chained to the the IAM role specified asroleArn.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
truewhenpolicyis 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
-
Key-value map of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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