Class OpenIdConnectProvider

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.iam.OpenIdConnectProvider
software.amazon.awscdk.services.eks.OpenIdConnectProvider
All Implemented Interfaces:
IOIDCProviderRef, IEnvironmentAware, IResource, IOpenIdConnectProvider, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)", date="2026-02-03T13:58:22.982Z") @Stability(Stable) public class OpenIdConnectProvider extends OpenIdConnectProvider
IAM OIDC identity providers are entities in IAM that describe an external identity provider (IdP) service that supports the OpenID Connect (OIDC) standard, such as Google or Salesforce.

You use an IAM OIDC identity provider when you want to establish trust between an OIDC-compatible IdP and your AWS account.

This implementation has default values for thumbprints and clientIds props that will be compatible with the eks cluster

Example:

 import software.amazon.awscdk.*;
 // Step 1: Add retain policy to existing provider
 OpenIdConnectProvider existingProvider = OpenIdConnectProvider.Builder.create(this, "Provider")
         .url("https://oidc.eks.us-west-2.amazonaws.com/id/EXAMPLE")
         .removalPolicy(RemovalPolicy.RETAIN)
         .build();
 

See Also:
  • Field Details

    • PROPERTY_INJECTION_ID

      @Stability(Stable) public static final String PROPERTY_INJECTION_ID
      Uniquely identifies this class.
  • Constructor Details

    • OpenIdConnectProvider

      protected OpenIdConnectProvider(software.amazon.jsii.JsiiObjectRef objRef)
    • OpenIdConnectProvider

      protected OpenIdConnectProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • OpenIdConnectProvider

      @Stability(Stable) public OpenIdConnectProvider(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull OpenIdConnectProviderProps props)
      Defines an OpenID Connect provider.

      Parameters:
      scope - The definition scope. This parameter is required.
      id - Construct ID. This parameter is required.
      props - Initialization properties. This parameter is required.