You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cognitoUserPoolClientProps has a required property, userPool, that isn't available in the before construct is instantiated - so although cognitoUserPoolClientProps is made available in construct properties, it cannot be specified. One solution would be relax the type requirements of cognitoUserPoolClientProps by adding | any to the type specification of the property.
const api = new CognitoToApiGatewayToLambda(
this,
'example',
{
cognitoUserPoolClientProps: {
userPool: // No idea what to put here, but must specify something
},
lambdaFunctionProps: {
code: lambda.Code.fromAsset(`lambda`),
runtime: lambda.Runtime.NODEJS_12_X,
handler: "handler.handler",
}
}
}
);
The text was updated successfully, but these errors were encountered:
cognitoUserPoolClientProps has a required property, userPool, that isn't available in the before construct is instantiated - so although cognitoUserPoolClientProps is made available in construct properties, it cannot be specified. One solution would be relax the type requirements of cognitoUserPoolClientProps by adding | any to the type specification of the property.
The text was updated successfully, but these errors were encountered: