Interface CfnIdentitySource.OpenIdConnectIdentityTokenConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIdentitySource.OpenIdConnectIdentityTokenConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnIdentitySource
@Stability(Stable)
public static interface CfnIdentitySource.OpenIdConnectIdentityTokenConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration of an OpenID Connect (OIDC) identity source for handling identity (ID) token claims.
Contains the claim that you want to identify as the principal in an authorization request, and the values of the aud
claim, or audiences, that you want to accept.
This data type is part of a OpenIdConnectTokenSelection structure, which is a parameter of CreateIdentitySource .
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.verifiedpermissions.*; OpenIdConnectIdentityTokenConfigurationProperty openIdConnectIdentityTokenConfigurationProperty = OpenIdConnectIdentityTokenConfigurationProperty.builder() .clientIds(List.of("clientIds")) .principalIdClaim("principalIdClaim") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnIdentitySource.OpenIdConnectIdentityTokenConfigurationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClientIds
The ID token audience, or client ID, claim values that you want to accept in your policy store from an OIDC identity provider.For example,
1example23456789, 2example10111213
.- See Also:
-
getPrincipalIdClaim
The claim that determines the principal in OIDC access tokens.For example,
sub
.Default: - "sub"
- See Also:
-
builder
@Stability(Stable) static CfnIdentitySource.OpenIdConnectIdentityTokenConfigurationProperty.Builder builder()
-