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>
A builder for
OpenIdConnectProviderProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofOpenIdConnectProviderProps.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
url
Sets the value ofOpenIdConnectProviderProps.getUrl()
- 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
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<OpenIdConnectProviderProps>
- Returns:
- a new instance of
OpenIdConnectProviderProps
- Throws:
NullPointerException
- if any required attribute was not provided
-