Interface CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty.Jsii$Proxy
- Enclosing class:
CfnIdentitySourcePropsMixin
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.mixins.preview.services.verifiedpermissions.mixins.*;
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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessTokenOnly
The OIDC configuration for processing access tokens.Contains allowed audience claims, for example
https://auth.example.com, and the claim that you want to map to the principal, for examplesub.Returns union: either
IResolvableorCfnIdentitySourcePropsMixin.OpenIdConnectAccessTokenConfigurationProperty- See Also:
-
getIdentityTokenOnly
The OIDC configuration for processing identity (ID) tokens.Contains allowed client ID claims, for example
1example23456789, and the claim that you want to map to the principal, for examplesub.Returns union: either
IResolvableorCfnIdentitySourcePropsMixin.OpenIdConnectIdentityTokenConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty.Builder builder()
-