Share via


CognitoResourceExtensions.AddClient Method

Definition

Adds an Amazon Cognito user pool client.

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

Parameters

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

The builder for the user pool.

name
String

the name of the resource.

options
Amazon.CDK.AWS.Cognito.IUserPoolClientOptions

The options of the client.

Returns

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

Applies to