Interface CfnIdentitySource.IdentitySourceConfigurationProperty

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

@Stability(Stable) public static interface CfnIdentitySource.IdentitySourceConfigurationProperty extends software.amazon.jsii.JsiiSerializable
A structure that contains configuration information used when creating or updating a new identity source.

At this time, the only valid member of this structure is a Amazon Cognito user pool configuration.

You must specify a userPoolArn , and optionally, a ClientId .

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.*;
 IdentitySourceConfigurationProperty identitySourceConfigurationProperty = IdentitySourceConfigurationProperty.builder()
         .cognitoUserPoolConfiguration(CognitoUserPoolConfigurationProperty.builder()
                 .userPoolArn("userPoolArn")
                 // the properties below are optional
                 .clientIds(List.of("clientIds"))
                 .groupConfiguration(CognitoGroupConfigurationProperty.builder()
                         .groupEntityType("groupEntityType")
                         .build())
                 .build())
         .openIdConnectConfiguration(OpenIdConnectConfigurationProperty.builder()
                 .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())
                 // the properties below are optional
                 .entityIdPrefix("entityIdPrefix")
                 .groupConfiguration(OpenIdConnectGroupConfigurationProperty.builder()
                         .groupClaim("groupClaim")
                         .groupEntityType("groupEntityType")
                         .build())
                 .build())
         .build();
 

See Also: