Class OidcProviderNativeProps.Builder
java.lang.Object
software.amazon.awscdk.services.eks.OidcProviderNativeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OidcProviderNativeProps>
- Enclosing interface:
OidcProviderNativeProps
@Stability(Stable)
public static final class OidcProviderNativeProps.Builder
extends Object
implements software.amazon.jsii.Builder<OidcProviderNativeProps>
A builder for
OidcProviderNativeProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.removalPolicy(RemovalPolicy removalPolicy) Sets the value ofOpenIdConnectProviderProps.getRemovalPolicy()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
-
removalPolicy
@Stability(Stable) public OidcProviderNativeProps.Builder removalPolicy(RemovalPolicy removalPolicy) Sets the value ofOpenIdConnectProviderProps.getRemovalPolicy()- Parameters:
removalPolicy- The removal policy to apply to the OpenID Connect Provider.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OidcProviderNativeProps>- Returns:
- a new instance of
OidcProviderNativeProps - Throws:
NullPointerException- if any required attribute was not provided
-