Table of Contents

Interface CfnIdentityPool.ICognitoIdentityProviderProperty

Namespace
Amazon.CDK.AWS.Cognito
Assembly
Amazon.CDK.AWS.Cognito.dll

CognitoIdentityProvider is a property of the AWS::Cognito::IdentityPool resource that represents an Amazon Cognito user pool and its client ID.

public interface CfnIdentityPool.ICognitoIdentityProviderProperty

Examples

// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Cognito;

             var cognitoIdentityProviderProperty = new CognitoIdentityProviderProperty {
                 ClientId = "clientId",
                 ProviderName = "providerName",
                 ServerSideTokenCheck = false
             };

Remarks

Properties

ClientId

The client ID for the Amazon Cognito user pool.

string? ClientId { get; }

Property Value

string

Remarks

ProviderName

The provider name for an Amazon Cognito user pool.

string? ProviderName { get; }

Property Value

string

Remarks

ServerSideTokenCheck

TRUE if server-side token validation is enabled for the identity provider’s token.

object? ServerSideTokenCheck { get; }

Property Value

object

Remarks

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-identitypool-cognitoidentityprovider.html#cfn-cognito-identitypool-cognitoidentityprovider-serversidetokencheck