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, aClientId.
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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIdentitySource.IdentitySourceConfigurationPropertystatic final classAn implementation forCfnIdentitySource.IdentitySourceConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA structure that contains configuration information used when creating or updating an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions .default ObjectReturns union: eitherIResolvableorCfnIdentitySource.OpenIdConnectConfigurationPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCognitoUserPoolConfiguration
A structure that contains configuration information used when creating or updating an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions .Returns union: either
IResolvableorCfnIdentitySource.CognitoUserPoolConfigurationProperty- See Also:
-
getOpenIdConnectConfiguration
Returns union: eitherIResolvableorCfnIdentitySource.OpenIdConnectConfigurationProperty- See Also:
-
builder
-