interface OpenIdConnectTokenSelectionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.VerifiedPermissions.Mixins.CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsverifiedpermissions/mixins#CfnIdentitySourcePropsMixin_OpenIdConnectTokenSelectionProperty |
Java | software.amazon.awscdk.mixins.preview.services.verifiedpermissions.mixins.CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty |
Python | aws_cdk.mixins_preview.aws_verifiedpermissions.mixins.CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_verifiedpermissions » mixins » CfnIdentitySourcePropsMixin » OpenIdConnectTokenSelectionProperty |
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 { mixins as verifiedpermissions_mixins } from '@aws-cdk/mixins-preview/aws-verifiedpermissions';
const openIdConnectTokenSelectionProperty: verifiedpermissions_mixins.CfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty = {
accessTokenOnly: {
audiences: ['audiences'],
principalIdClaim: 'principalIdClaim',
},
identityTokenOnly: {
clientIds: ['clientIds'],
principalIdClaim: 'principalIdClaim',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| access | IResolvable | Open | The OIDC configuration for processing access tokens. |
| identity | IResolvable | Open | The OIDC configuration for processing identity (ID) tokens. |
accessTokenOnly?
Type:
IResolvable | Open
(optional)
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 example sub .
identityTokenOnly?
Type:
IResolvable | Open
(optional)
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 example sub .

.NET
Go
Java
Python
TypeScript