Class CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eks.CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty>
- Enclosing interface:
CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty
@Stability(Stable)
public static final class CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty>
-
Constructor Summary
Constructors -
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 CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.Builder clientId(String clientId) Sets the value ofCfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.getClientId()- Parameters:
clientId- This is also known as audience . The ID of the client application that makes authentication requests to the OIDC identity provider.- Returns:
this
-
groupsClaim
@Stability(Stable) public CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.Builder groupsClaim(String groupsClaim) Sets the value ofCfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.getGroupsClaim()- Parameters:
groupsClaim- The JSON web token (JWT) claim that the provider uses to return your groups.- Returns:
this
-
groupsPrefix
@Stability(Stable) public CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.Builder groupsPrefix(String groupsPrefix) Sets the value ofCfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.getGroupsPrefix()- 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:engineeringandoidc:infra. The prefix can't containsystem:- Returns:
this
-
issuerUrl
@Stability(Stable) public CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.Builder issuerUrl(String issuerUrl) Sets the value ofCfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.getIssuerUrl()- Parameters:
issuerUrl- The URL of the OIDC identity provider that allows the API server to discover public signing keys for verifying tokens.- Returns:
this
-
requiredClaims
@Stability(Stable) public CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.Builder requiredClaims(IResolvable requiredClaims) Sets the value ofCfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.getRequiredClaims()- 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 CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.Builder requiredClaims(List<? extends Object> requiredClaims) Sets the value ofCfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.getRequiredClaims()- 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 CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.Builder usernameClaim(String usernameClaim) Sets the value ofCfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.getUsernameClaim()- Parameters:
usernameClaim- The JSON Web token (JWT) claim that is used as the username.- Returns:
this
-
usernamePrefix
@Stability(Stable) public CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.Builder usernamePrefix(String usernamePrefix) Sets the value ofCfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty.getUsernamePrefix()- Parameters:
usernamePrefix- The prefix that is prepended to username claims to prevent clashes with existing names. The prefix can't containsystem:- Returns:
this
-
build
@Stability(Stable) public CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty>- Returns:
- a new instance of
CfnIdentityProviderConfigPropsMixin.OidcIdentityProviderConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-