Show / Hide Table of Contents

Interface IAppSyncCognitoConfig

Configuration for Cognito user-pools in AppSync for Api.

Namespace: Amazon.CDK.AWS.AppSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAppSyncCognitoConfig
Syntax (vb)
Public Interface IAppSyncCognitoConfig
Remarks

ExampleMetadata: fixture=_generated

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

            UserPool userPool;

            var appSyncCognitoConfig = new AppSyncCognitoConfig {
                UserPool = userPool,

                // the properties below are optional
                AppIdClientRegex = "appIdClientRegex"
            };

Synopsis

Properties

AppIdClientRegex

the optional app id regex.

UserPool

The Cognito user pool to use as identity source.

Properties

AppIdClientRegex

the optional app id regex.

string? AppIdClientRegex { get; }
Property Value

string

Remarks

Default: - None

UserPool

The Cognito user pool to use as identity source.

IUserPool UserPool { get; }
Property Value

IUserPool

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX