Share via


CognitoResourceExtensions.AddCognitoUserPool Method

Definition

Adds an Amazon Cognito user pool.

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.Cognito.UserPool>> AddCognitoUserPool (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IStackResource> builder, string name, Amazon.CDK.AWS.Cognito.IUserPoolProps? props = default);
static member AddCognitoUserPool : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IStackResource> * string * Amazon.CDK.AWS.Cognito.IUserPoolProps -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.AWS.CDK.IConstructResource<Amazon.CDK.AWS.Cognito.UserPool>>
<Extension()>
Public Function AddCognitoUserPool (builder As IResourceBuilder(Of IStackResource), name As String, Optional props As IUserPoolProps = Nothing) As IResourceBuilder(Of IConstructResource(Of UserPool))

Parameters

builder
IResourceBuilder<IStackResource>

The builder for the AWS CDK stack.

name
String

The name of the resource.

props
Amazon.CDK.AWS.Cognito.IUserPoolProps

The properties of the userpool.

Returns

IResourceBuilder<IConstructResource<Amazon.CDK.AWS.Cognito.UserPool>>

Applies to