@Stability(value=Stable)
public static interface CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.eks.*;
OidcIdentityProviderConfigProperty oidcIdentityProviderConfigProperty = OidcIdentityProviderConfigProperty.builder()
.clientId("clientId")
.issuerUrl("issuerUrl")
// the properties below are optional
.groupsClaim("groupsClaim")
.groupsPrefix("groupsPrefix")
.requiredClaims(List.of(RequiredClaimProperty.builder()
.key("key")
.value("value")
.build()))
.usernameClaim("usernameClaim")
.usernamePrefix("usernamePrefix")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Builder
|
static class |
CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Jsii$Proxy
An implementation for
CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Builder |
builder() |
String |
getClientId()
This is also known as *audience* .
|
default String |
getGroupsClaim()
The JSON web token (JWT) claim that the provider uses to return your groups.
|
default String |
getGroupsPrefix()
The prefix that is prepended to group claims to prevent clashes with existing names (such as `system:` groups).
|
String |
getIssuerUrl()
The URL of the OIDC identity provider that allows the API server to discover public signing keys for verifying tokens.
|
default Object |
getRequiredClaims()
The key-value pairs that describe required claims in the identity token.
|
default String |
getUsernameClaim()
The JSON Web token (JWT) claim that is used as the username.
|
default String |
getUsernamePrefix()
The prefix that is prepended to username claims to prevent clashes with existing names.
|
@Stability(value=Stable) @NotNull String getClientId()
The ID of the client application that makes authentication requests to the OIDC identity provider.
@Stability(value=Stable) @NotNull String getIssuerUrl()
@Stability(value=Stable) @Nullable default String getGroupsClaim()
@Stability(value=Stable) @Nullable default String getGroupsPrefix()
For example, the value oidc: creates group names like oidc:engineering and oidc:infra . The prefix can't contain system:
@Stability(value=Stable) @Nullable default Object getRequiredClaims()
If set, each claim is verified to be present in the token with a matching value.
@Stability(value=Stable) @Nullable default String getUsernameClaim()
@Stability(value=Stable) @Nullable default String getUsernamePrefix()
The prefix can't contain system:
@Stability(value=Stable) static CfnIdentityProviderConfig.OidcIdentityProviderConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.