Interface CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnIdentitySourcePropsMixin
It specifies the issuer URL, token type that you want to use, and policy store entity details.
This data type is part of a Configuration structure, which is a parameter to 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.cfnpropertymixins.services.verifiedpermissions.*;
OpenIdConnectConfigurationProperty openIdConnectConfigurationProperty = OpenIdConnectConfigurationProperty.builder()
.entityIdPrefix("entityIdPrefix")
.groupConfiguration(OpenIdConnectGroupConfigurationProperty.builder()
.groupClaim("groupClaim")
.groupEntityType("groupEntityType")
.build())
.issuer("issuer")
.tokenSelection(OpenIdConnectTokenSelectionProperty.builder()
.accessTokenOnly(OpenIdConnectAccessTokenConfigurationProperty.builder()
.audiences(List.of("audiences"))
.principalIdClaim("principalIdClaim")
.build())
.identityTokenOnly(OpenIdConnectIdentityTokenConfigurationProperty.builder()
.clientIds(List.of("clientIds"))
.principalIdClaim("principalIdClaim")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA descriptive string that you want to prefix to user entities from your OIDC identity provider.default ObjectThe claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to.default StringThe issuer URL of an OIDC identity provider.default ObjectThe token type that you want to process from your OIDC identity provider.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEntityIdPrefix
A descriptive string that you want to prefix to user entities from your OIDC identity provider.For example, if you set an
entityIdPrefixofMyOIDCProvider, you can reference principals in your policies in the formatMyCorp::User::MyOIDCProvider|Carlos.- See Also:
-
getGroupConfiguration
The claim in OIDC identity provider tokens that indicates a user's group membership, and the entity type that you want to map it to.For example, this object can map the contents of a
groupsclaim toMyCorp::UserGroup.Returns union: either
IResolvableorCfnIdentitySourcePropsMixin.OpenIdConnectGroupConfigurationProperty- See Also:
-
getIssuer
The issuer URL of an OIDC identity provider.This URL must have an OIDC discovery endpoint at the path
.well-known/openid-configuration.- See Also:
-
getTokenSelection
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.
Returns union: either
IResolvableorCfnIdentitySourcePropsMixin.OpenIdConnectTokenSelectionProperty- See Also:
-
builder
@Stability(Stable) static CfnIdentitySourcePropsMixin.OpenIdConnectConfigurationProperty.Builder builder()
-