Interface CfnIdentityPool.CognitoIdentityProviderProperty

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

@Stability(Stable) public static interface CfnIdentityPool.CognitoIdentityProviderProperty extends software.amazon.jsii.JsiiSerializable
CognitoIdentityProvider is a property of the AWS::Cognito::IdentityPool resource that represents an Amazon Cognito user pool and its client ID.

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();
 
  • Method Details

    • getClientId

      @Stability(Stable) @Nullable default String getClientId()
      The client ID for the Amazon Cognito user pool.
    • getProviderName

      @Stability(Stable) @Nullable default String getProviderName()
      The provider name for an Amazon Cognito user pool.

      For example: cognito-idp.us-east-2.amazonaws.com/us-east-2_123456789 .

    • getServerSideTokenCheck

      @Stability(Stable) @Nullable default Object getServerSideTokenCheck()
      TRUE if server-side token validation is enabled for the identity provider’s token.

      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.

    • builder

      @Stability(Stable) static CfnIdentityPool.CognitoIdentityProviderProperty.Builder builder()
      Returns:
      a CfnIdentityPool.CognitoIdentityProviderProperty.Builder of CfnIdentityPool.CognitoIdentityProviderProperty