AWS::EKS::IdentityProviderConfigAssociates an identity provider configuration to a cluster. If you want to authenticate identities using an identity provider, you can create an identity provider configuration and associate it to your cluster. After configuring authentication to your cluster you can create Kubernetes `Role` and `ClusterRole` objects, assign permissions to them, and then bind them to the identities using Kubernetes `RoleBinding` and `ClusterRoleBinding` objects. For more information see [Using RBAC Authorization](https://docs.aws.amazon.com/https://kubernetes.io/docs/reference/access-authn-authz/rbac/) in the Kubernetes documentation.
import { CfnIdentityProviderConfig } from 'aws-cdk-lib/aws-eks';Or use the module namespace:
import * as eks from 'aws-cdk-lib/aws-eks';
// eks.CfnIdentityProviderConfigConfiguration passed to the constructor as CfnIdentityProviderConfigProps.
clusterNameRequiredstringThe name of your cluster.
typeRequiredstringThe type of the identity provider configuration. The only type available is `oidc` .
identityProviderConfigNameOptionalstringThe name of the configuration.
oidcOptionalIResolvable | OidcIdentityProviderConfigPropertyAn object representing an OpenID Connect (OIDC) identity provider configuration.
tagsOptionalCfnTag[]Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or AWS resources.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-eksAWS::EKS::IdentityProviderConfig