AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::EKS::IdentityProviderConfig

CfnIdentityProviderConfig

Associates 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

import { CfnIdentityProviderConfig } from 'aws-cdk-lib/aws-eks';

Or use the module namespace:

import * as eks from 'aws-cdk-lib/aws-eks';
// eks.CfnIdentityProviderConfig

Properties

Configuration passed to the constructor as CfnIdentityProviderConfigProps.

clusterNameRequired
string

The name of your cluster.

typeRequired
string

The type of the identity provider configuration. The only type available is `oidc` .

identityProviderConfigNameOptional
string

The name of the configuration.

oidcOptional
IResolvable | OidcIdentityProviderConfigProperty

An object representing an OpenID Connect (OIDC) identity provider configuration.

tagsOptional
CfnTag[]

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.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter