@Stability(value=Stable)
public static interface CfnIdentityPool.CognitoIdentityProviderProperty
extends software.amazon.jsii.JsiiSerializable
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.cognito.*;
CognitoIdentityProviderProperty cognitoIdentityProviderProperty = CognitoIdentityProviderProperty.builder()
.clientId("clientId")
.providerName("providerName")
.serverSideTokenCheck(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnIdentityPool.CognitoIdentityProviderProperty.Builder
A builder for
CfnIdentityPool.CognitoIdentityProviderProperty |
static class |
CfnIdentityPool.CognitoIdentityProviderProperty.Jsii$Proxy
An implementation for
CfnIdentityPool.CognitoIdentityProviderProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnIdentityPool.CognitoIdentityProviderProperty.Builder |
builder() |
default String |
getClientId()
The client ID for the Amazon Cognito user pool.
|
default String |
getProviderName()
The provider name for an Amazon Cognito user pool.
|
default Object |
getServerSideTokenCheck()
TRUE if server-side token validation is enabled for the identity provider’s token.
|
@Stability(value=Stable) @Nullable default String getClientId()
@Stability(value=Stable) @Nullable default String getProviderName()
For example: cognito-idp.us-east-2.amazonaws.com/us-east-2_123456789 .
@Stability(value=Stable) @Nullable default Object getServerSideTokenCheck()
After you set the ServerSideTokenCheck to TRUE for an identity pool, that identity pool checks with the integrated user pools to make sure the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user.
If the user is signed out or deleted, the identity pool returns a 400 Not Authorized error.
@Stability(value=Stable) static CfnIdentityPool.CognitoIdentityProviderProperty.Builder builder()
Copyright © 2022. All rights reserved.