# CfnIdentityProviderConfigProps

Properties for defining a `CfnIdentityProviderConfig`.

Extends: CfnIdentityProviderConfigProps
Used as props by: CfnIdentityProviderConfig

- Source: Generated code
- Type last changed: v2.16.0 · 12 Mar 2022

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eks as eks } from 'aws-cdk-lib';
const cfnIdentityProviderConfigProps: eks.CfnIdentityProviderConfigProps = {
  clusterName: 'clusterName',
  type: 'type',

  // the properties below are optional
  identityProviderConfigName: 'identityProviderConfigName',
  oidc: {
    clientId: 'clientId',
    issuerUrl: 'issuerUrl',

    // the properties below are optional
    groupsClaim: 'groupsClaim',
    groupsPrefix: 'groupsPrefix',
    requiredClaims: [{
      key: 'key',
      value: 'value',
    }],
    usernameClaim: 'usernameClaim',
    usernamePrefix: 'usernamePrefix',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `clusterName`: string (required) — The name of your cluster.

- `identityProviderConfigName`: string — The name of the configuration.

- `oidc`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_eks.CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.html) — An object representing an OpenID Connect (OIDC) identity provider configuration.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — 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.

- `type`: string (required) — The type of the identity provider configuration.

  The only type available is `oidc` .
