Class OpenIdConnectProviderProps.Builder

java.lang.Object
software.amazon.awscdk.services.eks.OpenIdConnectProviderProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<OpenIdConnectProviderProps>
Enclosing interface:
OpenIdConnectProviderProps

@Stability(Stable) public static final class OpenIdConnectProviderProps.Builder extends Object implements software.amazon.jsii.Builder<OpenIdConnectProviderProps>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • url

      @Stability(Stable) public OpenIdConnectProviderProps.Builder url(String url)
      Parameters:
      url - The URL of the identity provider. This parameter is required. The URL must begin with https:// and should correspond to the iss claim in the provider's OpenID Connect ID tokens. Per the OIDC standard, path components are allowed but query parameters are not. Typically the URL consists of only a hostname, like https://server.example.org or https://example.com.

      You can find your OIDC Issuer URL by: aws eks describe-cluster --name %cluster_name% --query "cluster.identity.oidc.issuer" --output text

      Returns:
      this
    • build

      @Stability(Stable) public OpenIdConnectProviderProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<OpenIdConnectProviderProps>
      Returns:
      a new instance of OpenIdConnectProviderProps
      Throws:
      NullPointerException - if any required attribute was not provided