CognitoResourceExtensions.AddClient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.