Interface CfnIdentitySource.OpenIdConnectTokenSelectionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnIdentitySource.OpenIdConnectTokenSelectionProperty.Jsii$Proxy
Enclosing class:
CfnIdentitySource

@Stability(Stable) public static interface CfnIdentitySource.OpenIdConnectTokenSelectionProperty extends software.amazon.jsii.JsiiSerializable
The token type that you want to process from your OIDC identity provider.

Your policy store can process either identity (ID) or access tokens from a given OIDC identity source.

This data type is part of a OpenIdConnectConfiguration 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.*;
 OpenIdConnectTokenSelectionProperty openIdConnectTokenSelectionProperty = OpenIdConnectTokenSelectionProperty.builder()
         .accessTokenOnly(OpenIdConnectAccessTokenConfigurationProperty.builder()
                 .audiences(List.of("audiences"))
                 .principalIdClaim("principalIdClaim")
                 .build())
         .identityTokenOnly(OpenIdConnectIdentityTokenConfigurationProperty.builder()
                 .clientIds(List.of("clientIds"))
                 .principalIdClaim("principalIdClaim")
                 .build())
         .build();
 

See Also: