Class CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.legacy.CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty>
- Enclosing interface:
- CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty
@Stability(Stable)
public static final class CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.groupsClaim
(String groupsClaim) groupsPrefix
(String groupsPrefix) requiredClaims
(List<? extends Object> requiredClaims) requiredClaims
(IResolvable requiredClaims) usernameClaim
(String usernameClaim) usernamePrefix
(String usernamePrefix)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientId
@Stability(Stable) public CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Builder clientId(String clientId) - Parameters:
clientId
- This is also known as audience . This parameter is required. The ID of the client application that makes authentication requests to the OIDC identity provider.- Returns:
this
-
issuerUrl
@Stability(Stable) public CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Builder issuerUrl(String issuerUrl) - Parameters:
issuerUrl
- The URL of the OIDC identity provider that allows the API server to discover public signing keys for verifying tokens. This parameter is required.- Returns:
this
-
groupsClaim
@Stability(Stable) public CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Builder groupsClaim(String groupsClaim) - Parameters:
groupsClaim
- The JSON web token (JWT) claim that the provider uses to return your groups.- Returns:
this
-
groupsPrefix
@Stability(Stable) public CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Builder groupsPrefix(String groupsPrefix) - Parameters:
groupsPrefix
- The prefix that is prepended to group claims to prevent clashes with existing names (such assystem:
groups). For example, the valueoidc:
creates group names likeoidc:engineering
andoidc:infra
. The prefix can't containsystem:
- Returns:
this
-
requiredClaims
@Stability(Stable) public CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Builder requiredClaims(IResolvable requiredClaims) - Parameters:
requiredClaims
- The key-value pairs that describe required claims in the identity token. If set, each claim is verified to be present in the token with a matching value.- Returns:
this
-
requiredClaims
@Stability(Stable) public CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Builder requiredClaims(List<? extends Object> requiredClaims) - Parameters:
requiredClaims
- The key-value pairs that describe required claims in the identity token. If set, each claim is verified to be present in the token with a matching value.- Returns:
this
-
usernameClaim
@Stability(Stable) public CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Builder usernameClaim(String usernameClaim) - Parameters:
usernameClaim
- The JSON Web token (JWT) claim that is used as the username.- Returns:
this
-
usernamePrefix
@Stability(Stable) public CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Builder usernamePrefix(String usernamePrefix) - Parameters:
usernamePrefix
- The prefix that is prepended to username claims to prevent clashes with existing names. The prefix can't containsystem:
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty>
- Returns:
- a new instance of
CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-