1. Packages
  2. AWS
  3. API Docs
  4. cognito
  5. getUserPool
AWS v6.78.0 published on Thursday, Apr 24, 2025 by Pulumi

aws.cognito.getUserPool

Explore with Pulumi AI

AWS v6.78.0 published on Thursday, Apr 24, 2025 by Pulumi

Data source for managing an AWS Cognito User Pool.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = aws.cognito.getUserPool({
    userPoolId: "us-west-2_aaaaaaaaa",
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.cognito.get_user_pool(user_pool_id="us-west-2_aaaaaaaaa")
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/cognito"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cognito.LookupUserPool(ctx, &cognito.LookupUserPoolArgs{
			UserPoolId: "us-west-2_aaaaaaaaa",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = Aws.Cognito.GetUserPool.Invoke(new()
    {
        UserPoolId = "us-west-2_aaaaaaaaa",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.cognito.CognitoFunctions;
import com.pulumi.aws.cognito.inputs.GetUserPoolArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = CognitoFunctions.getUserPool(GetUserPoolArgs.builder()
            .userPoolId("us-west-2_aaaaaaaaa")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: aws:cognito:getUserPool
      arguments:
        userPoolId: us-west-2_aaaaaaaaa
Copy

Using getUserPool

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getUserPool(args: GetUserPoolArgs, opts?: InvokeOptions): Promise<GetUserPoolResult>
function getUserPoolOutput(args: GetUserPoolOutputArgs, opts?: InvokeOptions): Output<GetUserPoolResult>
Copy
def get_user_pool(user_pool_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetUserPoolResult
def get_user_pool_output(user_pool_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetUserPoolResult]
Copy
func LookupUserPool(ctx *Context, args *LookupUserPoolArgs, opts ...InvokeOption) (*LookupUserPoolResult, error)
func LookupUserPoolOutput(ctx *Context, args *LookupUserPoolOutputArgs, opts ...InvokeOption) LookupUserPoolResultOutput
Copy

> Note: This function is named LookupUserPool in the Go SDK.

public static class GetUserPool 
{
    public static Task<GetUserPoolResult> InvokeAsync(GetUserPoolArgs args, InvokeOptions? opts = null)
    public static Output<GetUserPoolResult> Invoke(GetUserPoolInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetUserPoolResult> getUserPool(GetUserPoolArgs args, InvokeOptions options)
public static Output<GetUserPoolResult> getUserPool(GetUserPoolArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws:cognito/getUserPool:getUserPool
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

UserPoolId This property is required. string
The cognito pool ID
UserPoolId This property is required. string
The cognito pool ID
userPoolId This property is required. String
The cognito pool ID
userPoolId This property is required. string
The cognito pool ID
user_pool_id This property is required. str
The cognito pool ID
userPoolId This property is required. String
The cognito pool ID

getUserPool Result

The following output properties are available:

AccountRecoverySettings List<GetUserPoolAccountRecoverySetting>
AdminCreateUserConfigs List<GetUserPoolAdminCreateUserConfig>
Arn string
ARN of the User Pool.

  • account_recovery_setting - The available verified method a user can use to recover their password when they call ForgotPassword. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email.
  • admin_create_user_config - The configuration for AdminCreateUser requests.
AutoVerifiedAttributes List<string>
The attributes that are auto-verified in a user pool.
CreationDate string
The date and time, in ISO 8601 format, when the item was created.
CustomDomain string
A custom domain name that you provide to Amazon Cognito. This parameter applies only if you use a custom domain to host the sign-up and sign-in pages for your application. An example of a custom domain name might be auth.example.com.
DeletionProtection string
When active, DeletionProtection prevents accidental deletion of your user pool. Before you can delete a user pool that you have protected against deletion, you must deactivate this feature.

  • device_configuration - The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
DeviceConfigurations List<GetUserPoolDeviceConfiguration>
Domain string
The domain prefix, if the user pool has a domain associated with it.

  • email_configuration - The email configuration of your user pool. The email configuration type sets your preferred sending method, AWS Region, and sender for messages from your user pool.
EmailConfigurations List<GetUserPoolEmailConfiguration>
EstimatedNumberOfUsers int
A number estimating the size of the user pool.

  • lambda_config - The AWS Lambda triggers associated with the user pool.
Id string
LambdaConfigs List<GetUserPoolLambdaConfig>
LastModifiedDate string
The date and time, in ISO 8601 format, when the item was modified.
MfaConfiguration string
Can be one of the following values: OFF | ON | OPTIONAL
Name string
  • Name of the attribute.
SchemaAttributes List<GetUserPoolSchemaAttribute>
SmsAuthenticationMessage string
The contents of the SMS authentication message.
SmsConfigurationFailure string
The reason why the SMS configuration can't send the messages to your users.
SmsVerificationMessage string
The contents of the SMS authentication message.
Tags Dictionary<string, string>
Map of tags assigned to the resource.
UserPoolId string
UserPoolTags Dictionary<string, string>
(Deprecated) Map of tags assigned to the resource.

Deprecated: Use the attribute "tags" instead

UsernameAttributes List<string>
Specifies whether a user can use an email address or phone number as a username when they sign up.
AccountRecoverySettings []GetUserPoolAccountRecoverySetting
AdminCreateUserConfigs []GetUserPoolAdminCreateUserConfig
Arn string
ARN of the User Pool.

  • account_recovery_setting - The available verified method a user can use to recover their password when they call ForgotPassword. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email.
  • admin_create_user_config - The configuration for AdminCreateUser requests.
AutoVerifiedAttributes []string
The attributes that are auto-verified in a user pool.
CreationDate string
The date and time, in ISO 8601 format, when the item was created.
CustomDomain string
A custom domain name that you provide to Amazon Cognito. This parameter applies only if you use a custom domain to host the sign-up and sign-in pages for your application. An example of a custom domain name might be auth.example.com.
DeletionProtection string
When active, DeletionProtection prevents accidental deletion of your user pool. Before you can delete a user pool that you have protected against deletion, you must deactivate this feature.

  • device_configuration - The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
DeviceConfigurations []GetUserPoolDeviceConfiguration
Domain string
The domain prefix, if the user pool has a domain associated with it.

  • email_configuration - The email configuration of your user pool. The email configuration type sets your preferred sending method, AWS Region, and sender for messages from your user pool.
EmailConfigurations []GetUserPoolEmailConfiguration
EstimatedNumberOfUsers int
A number estimating the size of the user pool.

  • lambda_config - The AWS Lambda triggers associated with the user pool.
Id string
LambdaConfigs []GetUserPoolLambdaConfig
LastModifiedDate string
The date and time, in ISO 8601 format, when the item was modified.
MfaConfiguration string
Can be one of the following values: OFF | ON | OPTIONAL
Name string
  • Name of the attribute.
SchemaAttributes []GetUserPoolSchemaAttribute
SmsAuthenticationMessage string
The contents of the SMS authentication message.
SmsConfigurationFailure string
The reason why the SMS configuration can't send the messages to your users.
SmsVerificationMessage string
The contents of the SMS authentication message.
Tags map[string]string
Map of tags assigned to the resource.
UserPoolId string
UserPoolTags map[string]string
(Deprecated) Map of tags assigned to the resource.

Deprecated: Use the attribute "tags" instead

UsernameAttributes []string
Specifies whether a user can use an email address or phone number as a username when they sign up.
accountRecoverySettings List<GetUserPoolAccountRecoverySetting>
adminCreateUserConfigs List<GetUserPoolAdminCreateUserConfig>
arn String
ARN of the User Pool.

  • account_recovery_setting - The available verified method a user can use to recover their password when they call ForgotPassword. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email.
  • admin_create_user_config - The configuration for AdminCreateUser requests.
autoVerifiedAttributes List<String>
The attributes that are auto-verified in a user pool.
creationDate String
The date and time, in ISO 8601 format, when the item was created.
customDomain String
A custom domain name that you provide to Amazon Cognito. This parameter applies only if you use a custom domain to host the sign-up and sign-in pages for your application. An example of a custom domain name might be auth.example.com.
deletionProtection String
When active, DeletionProtection prevents accidental deletion of your user pool. Before you can delete a user pool that you have protected against deletion, you must deactivate this feature.

  • device_configuration - The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
deviceConfigurations List<GetUserPoolDeviceConfiguration>
domain String
The domain prefix, if the user pool has a domain associated with it.

  • email_configuration - The email configuration of your user pool. The email configuration type sets your preferred sending method, AWS Region, and sender for messages from your user pool.
emailConfigurations List<GetUserPoolEmailConfiguration>
estimatedNumberOfUsers Integer
A number estimating the size of the user pool.

  • lambda_config - The AWS Lambda triggers associated with the user pool.
id String
lambdaConfigs List<GetUserPoolLambdaConfig>
lastModifiedDate String
The date and time, in ISO 8601 format, when the item was modified.
mfaConfiguration String
Can be one of the following values: OFF | ON | OPTIONAL
name String
  • Name of the attribute.
schemaAttributes List<GetUserPoolSchemaAttribute>
smsAuthenticationMessage String
The contents of the SMS authentication message.
smsConfigurationFailure String
The reason why the SMS configuration can't send the messages to your users.
smsVerificationMessage String
The contents of the SMS authentication message.
tags Map<String,String>
Map of tags assigned to the resource.
userPoolId String
userPoolTags Map<String,String>
(Deprecated) Map of tags assigned to the resource.

Deprecated: Use the attribute "tags" instead

usernameAttributes List<String>
Specifies whether a user can use an email address or phone number as a username when they sign up.
accountRecoverySettings GetUserPoolAccountRecoverySetting[]
adminCreateUserConfigs GetUserPoolAdminCreateUserConfig[]
arn string
ARN of the User Pool.

  • account_recovery_setting - The available verified method a user can use to recover their password when they call ForgotPassword. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email.
  • admin_create_user_config - The configuration for AdminCreateUser requests.
autoVerifiedAttributes string[]
The attributes that are auto-verified in a user pool.
creationDate string
The date and time, in ISO 8601 format, when the item was created.
customDomain string
A custom domain name that you provide to Amazon Cognito. This parameter applies only if you use a custom domain to host the sign-up and sign-in pages for your application. An example of a custom domain name might be auth.example.com.
deletionProtection string
When active, DeletionProtection prevents accidental deletion of your user pool. Before you can delete a user pool that you have protected against deletion, you must deactivate this feature.

  • device_configuration - The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
deviceConfigurations GetUserPoolDeviceConfiguration[]
domain string
The domain prefix, if the user pool has a domain associated with it.

  • email_configuration - The email configuration of your user pool. The email configuration type sets your preferred sending method, AWS Region, and sender for messages from your user pool.
emailConfigurations GetUserPoolEmailConfiguration[]
estimatedNumberOfUsers number
A number estimating the size of the user pool.

  • lambda_config - The AWS Lambda triggers associated with the user pool.
id string
lambdaConfigs GetUserPoolLambdaConfig[]
lastModifiedDate string
The date and time, in ISO 8601 format, when the item was modified.
mfaConfiguration string
Can be one of the following values: OFF | ON | OPTIONAL
name string
  • Name of the attribute.
schemaAttributes GetUserPoolSchemaAttribute[]
smsAuthenticationMessage string
The contents of the SMS authentication message.
smsConfigurationFailure string
The reason why the SMS configuration can't send the messages to your users.
smsVerificationMessage string
The contents of the SMS authentication message.
tags {[key: string]: string}
Map of tags assigned to the resource.
userPoolId string
userPoolTags {[key: string]: string}
(Deprecated) Map of tags assigned to the resource.

Deprecated: Use the attribute "tags" instead

usernameAttributes string[]
Specifies whether a user can use an email address or phone number as a username when they sign up.
account_recovery_settings Sequence[GetUserPoolAccountRecoverySetting]
admin_create_user_configs Sequence[GetUserPoolAdminCreateUserConfig]
arn str
ARN of the User Pool.

  • account_recovery_setting - The available verified method a user can use to recover their password when they call ForgotPassword. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email.
  • admin_create_user_config - The configuration for AdminCreateUser requests.
auto_verified_attributes Sequence[str]
The attributes that are auto-verified in a user pool.
creation_date str
The date and time, in ISO 8601 format, when the item was created.
custom_domain str
A custom domain name that you provide to Amazon Cognito. This parameter applies only if you use a custom domain to host the sign-up and sign-in pages for your application. An example of a custom domain name might be auth.example.com.
deletion_protection str
When active, DeletionProtection prevents accidental deletion of your user pool. Before you can delete a user pool that you have protected against deletion, you must deactivate this feature.

  • device_configuration - The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
device_configurations Sequence[GetUserPoolDeviceConfiguration]
domain str
The domain prefix, if the user pool has a domain associated with it.

  • email_configuration - The email configuration of your user pool. The email configuration type sets your preferred sending method, AWS Region, and sender for messages from your user pool.
email_configurations Sequence[GetUserPoolEmailConfiguration]
estimated_number_of_users int
A number estimating the size of the user pool.

  • lambda_config - The AWS Lambda triggers associated with the user pool.
id str
lambda_configs Sequence[GetUserPoolLambdaConfig]
last_modified_date str
The date and time, in ISO 8601 format, when the item was modified.
mfa_configuration str
Can be one of the following values: OFF | ON | OPTIONAL
name str
  • Name of the attribute.
schema_attributes Sequence[GetUserPoolSchemaAttribute]
sms_authentication_message str
The contents of the SMS authentication message.
sms_configuration_failure str
The reason why the SMS configuration can't send the messages to your users.
sms_verification_message str
The contents of the SMS authentication message.
tags Mapping[str, str]
Map of tags assigned to the resource.
user_pool_id str
user_pool_tags Mapping[str, str]
(Deprecated) Map of tags assigned to the resource.

Deprecated: Use the attribute "tags" instead

username_attributes Sequence[str]
Specifies whether a user can use an email address or phone number as a username when they sign up.
accountRecoverySettings List<Property Map>
adminCreateUserConfigs List<Property Map>
arn String
ARN of the User Pool.

  • account_recovery_setting - The available verified method a user can use to recover their password when they call ForgotPassword. You can use this setting to define a preferred method when a user has more than one method available. With this setting, SMS doesn't qualify for a valid password recovery mechanism if the user also has SMS multi-factor authentication (MFA) activated. In the absence of this setting, Amazon Cognito uses the legacy behavior to determine the recovery method where SMS is preferred through email.
  • admin_create_user_config - The configuration for AdminCreateUser requests.
autoVerifiedAttributes List<String>
The attributes that are auto-verified in a user pool.
creationDate String
The date and time, in ISO 8601 format, when the item was created.
customDomain String
A custom domain name that you provide to Amazon Cognito. This parameter applies only if you use a custom domain to host the sign-up and sign-in pages for your application. An example of a custom domain name might be auth.example.com.
deletionProtection String
When active, DeletionProtection prevents accidental deletion of your user pool. Before you can delete a user pool that you have protected against deletion, you must deactivate this feature.

  • device_configuration - The device-remembering configuration for a user pool. A null value indicates that you have deactivated device remembering in your user pool.
deviceConfigurations List<Property Map>
domain String
The domain prefix, if the user pool has a domain associated with it.

  • email_configuration - The email configuration of your user pool. The email configuration type sets your preferred sending method, AWS Region, and sender for messages from your user pool.
emailConfigurations List<Property Map>
estimatedNumberOfUsers Number
A number estimating the size of the user pool.

  • lambda_config - The AWS Lambda triggers associated with the user pool.
id String
lambdaConfigs List<Property Map>
lastModifiedDate String
The date and time, in ISO 8601 format, when the item was modified.
mfaConfiguration String
Can be one of the following values: OFF | ON | OPTIONAL
name String
  • Name of the attribute.
schemaAttributes List<Property Map>
smsAuthenticationMessage String
The contents of the SMS authentication message.
smsConfigurationFailure String
The reason why the SMS configuration can't send the messages to your users.
smsVerificationMessage String
The contents of the SMS authentication message.
tags Map<String>
Map of tags assigned to the resource.
userPoolId String
userPoolTags Map<String>
(Deprecated) Map of tags assigned to the resource.

Deprecated: Use the attribute "tags" instead

usernameAttributes List<String>
Specifies whether a user can use an email address or phone number as a username when they sign up.

Supporting Types

GetUserPoolAccountRecoverySetting

recoveryMechanisms This property is required. List<Property Map>

GetUserPoolAccountRecoverySettingRecoveryMechanism

Name This property is required. string
  • Name of the attribute.
Priority This property is required. int
  • Priority of this mechanism in the recovery process (lower numbers are higher priority).
Name This property is required. string
  • Name of the attribute.
Priority This property is required. int
  • Priority of this mechanism in the recovery process (lower numbers are higher priority).
name This property is required. String
  • Name of the attribute.
priority This property is required. Integer
  • Priority of this mechanism in the recovery process (lower numbers are higher priority).
name This property is required. string
  • Name of the attribute.
priority This property is required. number
  • Priority of this mechanism in the recovery process (lower numbers are higher priority).
name This property is required. str
  • Name of the attribute.
priority This property is required. int
  • Priority of this mechanism in the recovery process (lower numbers are higher priority).
name This property is required. String
  • Name of the attribute.
priority This property is required. Number
  • Priority of this mechanism in the recovery process (lower numbers are higher priority).

GetUserPoolAdminCreateUserConfig

AllowAdminCreateUserOnly This property is required. bool
  • Whether only admins can create users.
InviteMessageTemplates This property is required. List<GetUserPoolAdminCreateUserConfigInviteMessageTemplate>
UnusedAccountValidityDays This property is required. int
  • Number of days an unconfirmed user account remains valid.
  • invite_message_template - Templates for invitation messages.
AllowAdminCreateUserOnly This property is required. bool
  • Whether only admins can create users.
InviteMessageTemplates This property is required. []GetUserPoolAdminCreateUserConfigInviteMessageTemplate
UnusedAccountValidityDays This property is required. int
  • Number of days an unconfirmed user account remains valid.
  • invite_message_template - Templates for invitation messages.
allowAdminCreateUserOnly This property is required. Boolean
  • Whether only admins can create users.
inviteMessageTemplates This property is required. List<GetUserPoolAdminCreateUserConfigInviteMessageTemplate>
unusedAccountValidityDays This property is required. Integer
  • Number of days an unconfirmed user account remains valid.
  • invite_message_template - Templates for invitation messages.
allowAdminCreateUserOnly This property is required. boolean
  • Whether only admins can create users.
inviteMessageTemplates This property is required. GetUserPoolAdminCreateUserConfigInviteMessageTemplate[]
unusedAccountValidityDays This property is required. number
  • Number of days an unconfirmed user account remains valid.
  • invite_message_template - Templates for invitation messages.
allow_admin_create_user_only This property is required. bool
  • Whether only admins can create users.
invite_message_templates This property is required. Sequence[GetUserPoolAdminCreateUserConfigInviteMessageTemplate]
unused_account_validity_days This property is required. int
  • Number of days an unconfirmed user account remains valid.
  • invite_message_template - Templates for invitation messages.
allowAdminCreateUserOnly This property is required. Boolean
  • Whether only admins can create users.
inviteMessageTemplates This property is required. List<Property Map>
unusedAccountValidityDays This property is required. Number
  • Number of days an unconfirmed user account remains valid.
  • invite_message_template - Templates for invitation messages.

GetUserPoolAdminCreateUserConfigInviteMessageTemplate

EmailMessage This property is required. string
  • Email message content.
EmailSubject This property is required. string
  • Email message subject.
SmsMessage This property is required. string
  • SMS message content.
EmailMessage This property is required. string
  • Email message content.
EmailSubject This property is required. string
  • Email message subject.
SmsMessage This property is required. string
  • SMS message content.
emailMessage This property is required. String
  • Email message content.
emailSubject This property is required. String
  • Email message subject.
smsMessage This property is required. String
  • SMS message content.
emailMessage This property is required. string
  • Email message content.
emailSubject This property is required. string
  • Email message subject.
smsMessage This property is required. string
  • SMS message content.
email_message This property is required. str
  • Email message content.
email_subject This property is required. str
  • Email message subject.
sms_message This property is required. str
  • SMS message content.
emailMessage This property is required. String
  • Email message content.
emailSubject This property is required. String
  • Email message subject.
smsMessage This property is required. String
  • SMS message content.

GetUserPoolDeviceConfiguration

ChallengeRequiredOnNewDevice This property is required. bool
  • Whether a challenge is required on new devices.
DeviceOnlyRememberedOnUserPrompt This property is required. bool
  • Whether devices are only remembered if the user prompts it.
ChallengeRequiredOnNewDevice This property is required. bool
  • Whether a challenge is required on new devices.
DeviceOnlyRememberedOnUserPrompt This property is required. bool
  • Whether devices are only remembered if the user prompts it.
challengeRequiredOnNewDevice This property is required. Boolean
  • Whether a challenge is required on new devices.
deviceOnlyRememberedOnUserPrompt This property is required. Boolean
  • Whether devices are only remembered if the user prompts it.
challengeRequiredOnNewDevice This property is required. boolean
  • Whether a challenge is required on new devices.
deviceOnlyRememberedOnUserPrompt This property is required. boolean
  • Whether devices are only remembered if the user prompts it.
challenge_required_on_new_device This property is required. bool
  • Whether a challenge is required on new devices.
device_only_remembered_on_user_prompt This property is required. bool
  • Whether devices are only remembered if the user prompts it.
challengeRequiredOnNewDevice This property is required. Boolean
  • Whether a challenge is required on new devices.
deviceOnlyRememberedOnUserPrompt This property is required. Boolean
  • Whether devices are only remembered if the user prompts it.

GetUserPoolEmailConfiguration

ConfigurationSet This property is required. string
  • Configuration set used for sending emails.
EmailSendingAccount This property is required. string
  • Email sending account.
From This property is required. string
  • Email sender address.
ReplyToEmailAddress This property is required. string
  • Reply-to email address.
SourceArn This property is required. string
  • Source Amazon Resource Name (ARN) for emails.
ConfigurationSet This property is required. string
  • Configuration set used for sending emails.
EmailSendingAccount This property is required. string
  • Email sending account.
From This property is required. string
  • Email sender address.
ReplyToEmailAddress This property is required. string
  • Reply-to email address.
SourceArn This property is required. string
  • Source Amazon Resource Name (ARN) for emails.
configurationSet This property is required. String
  • Configuration set used for sending emails.
emailSendingAccount This property is required. String
  • Email sending account.
from This property is required. String
  • Email sender address.
replyToEmailAddress This property is required. String
  • Reply-to email address.
sourceArn This property is required. String
  • Source Amazon Resource Name (ARN) for emails.
configurationSet This property is required. string
  • Configuration set used for sending emails.
emailSendingAccount This property is required. string
  • Email sending account.
from This property is required. string
  • Email sender address.
replyToEmailAddress This property is required. string
  • Reply-to email address.
sourceArn This property is required. string
  • Source Amazon Resource Name (ARN) for emails.
configuration_set This property is required. str
  • Configuration set used for sending emails.
email_sending_account This property is required. str
  • Email sending account.
from_ This property is required. str
  • Email sender address.
reply_to_email_address This property is required. str
  • Reply-to email address.
source_arn This property is required. str
  • Source Amazon Resource Name (ARN) for emails.
configurationSet This property is required. String
  • Configuration set used for sending emails.
emailSendingAccount This property is required. String
  • Email sending account.
from This property is required. String
  • Email sender address.
replyToEmailAddress This property is required. String
  • Reply-to email address.
sourceArn This property is required. String
  • Source Amazon Resource Name (ARN) for emails.

GetUserPoolLambdaConfig

CreateAuthChallenge This property is required. string
CustomEmailSenders This property is required. List<GetUserPoolLambdaConfigCustomEmailSender>
CustomMessage This property is required. string
CustomSmsSenders This property is required. List<GetUserPoolLambdaConfigCustomSmsSender>
DefineAuthChallenge This property is required. string
KmsKeyId This property is required. string
PostAuthentication This property is required. string
PostConfirmation This property is required. string
PreAuthentication This property is required. string
PreSignUp This property is required. string
PreTokenGeneration This property is required. string
PreTokenGenerationConfigs This property is required. List<GetUserPoolLambdaConfigPreTokenGenerationConfig>
UserMigration This property is required. string
VerifyAuthChallengeResponse This property is required. string
CreateAuthChallenge This property is required. string
CustomEmailSenders This property is required. []GetUserPoolLambdaConfigCustomEmailSender
CustomMessage This property is required. string
CustomSmsSenders This property is required. []GetUserPoolLambdaConfigCustomSmsSender
DefineAuthChallenge This property is required. string
KmsKeyId This property is required. string
PostAuthentication This property is required. string
PostConfirmation This property is required. string
PreAuthentication This property is required. string
PreSignUp This property is required. string
PreTokenGeneration This property is required. string
PreTokenGenerationConfigs This property is required. []GetUserPoolLambdaConfigPreTokenGenerationConfig
UserMigration This property is required. string
VerifyAuthChallengeResponse This property is required. string
createAuthChallenge This property is required. String
customEmailSenders This property is required. List<GetUserPoolLambdaConfigCustomEmailSender>
customMessage This property is required. String
customSmsSenders This property is required. List<GetUserPoolLambdaConfigCustomSmsSender>
defineAuthChallenge This property is required. String
kmsKeyId This property is required. String
postAuthentication This property is required. String
postConfirmation This property is required. String
preAuthentication This property is required. String
preSignUp This property is required. String
preTokenGeneration This property is required. String
preTokenGenerationConfigs This property is required. List<GetUserPoolLambdaConfigPreTokenGenerationConfig>
userMigration This property is required. String
verifyAuthChallengeResponse This property is required. String
createAuthChallenge This property is required. string
customEmailSenders This property is required. GetUserPoolLambdaConfigCustomEmailSender[]
customMessage This property is required. string
customSmsSenders This property is required. GetUserPoolLambdaConfigCustomSmsSender[]
defineAuthChallenge This property is required. string
kmsKeyId This property is required. string
postAuthentication This property is required. string
postConfirmation This property is required. string
preAuthentication This property is required. string
preSignUp This property is required. string
preTokenGeneration This property is required. string
preTokenGenerationConfigs This property is required. GetUserPoolLambdaConfigPreTokenGenerationConfig[]
userMigration This property is required. string
verifyAuthChallengeResponse This property is required. string
create_auth_challenge This property is required. str
custom_email_senders This property is required. Sequence[GetUserPoolLambdaConfigCustomEmailSender]
custom_message This property is required. str
custom_sms_senders This property is required. Sequence[GetUserPoolLambdaConfigCustomSmsSender]
define_auth_challenge This property is required. str
kms_key_id This property is required. str
post_authentication This property is required. str
post_confirmation This property is required. str
pre_authentication This property is required. str
pre_sign_up This property is required. str
pre_token_generation This property is required. str
pre_token_generation_configs This property is required. Sequence[GetUserPoolLambdaConfigPreTokenGenerationConfig]
user_migration This property is required. str
verify_auth_challenge_response This property is required. str
createAuthChallenge This property is required. String
customEmailSenders This property is required. List<Property Map>
customMessage This property is required. String
customSmsSenders This property is required. List<Property Map>
defineAuthChallenge This property is required. String
kmsKeyId This property is required. String
postAuthentication This property is required. String
postConfirmation This property is required. String
preAuthentication This property is required. String
preSignUp This property is required. String
preTokenGeneration This property is required. String
preTokenGenerationConfigs This property is required. List<Property Map>
userMigration This property is required. String
verifyAuthChallengeResponse This property is required. String

GetUserPoolLambdaConfigCustomEmailSender

LambdaArn This property is required. string
  • ARN of the Lambda function.
LambdaVersion This property is required. string
  • Version of the Lambda function.
LambdaArn This property is required. string
  • ARN of the Lambda function.
LambdaVersion This property is required. string
  • Version of the Lambda function.
lambdaArn This property is required. String
  • ARN of the Lambda function.
lambdaVersion This property is required. String
  • Version of the Lambda function.
lambdaArn This property is required. string
  • ARN of the Lambda function.
lambdaVersion This property is required. string
  • Version of the Lambda function.
lambda_arn This property is required. str
  • ARN of the Lambda function.
lambda_version This property is required. str
  • Version of the Lambda function.
lambdaArn This property is required. String
  • ARN of the Lambda function.
lambdaVersion This property is required. String
  • Version of the Lambda function.

GetUserPoolLambdaConfigCustomSmsSender

LambdaArn This property is required. string
  • ARN of the Lambda function.
LambdaVersion This property is required. string
  • Version of the Lambda function.
LambdaArn This property is required. string
  • ARN of the Lambda function.
LambdaVersion This property is required. string
  • Version of the Lambda function.
lambdaArn This property is required. String
  • ARN of the Lambda function.
lambdaVersion This property is required. String
  • Version of the Lambda function.
lambdaArn This property is required. string
  • ARN of the Lambda function.
lambdaVersion This property is required. string
  • Version of the Lambda function.
lambda_arn This property is required. str
  • ARN of the Lambda function.
lambda_version This property is required. str
  • Version of the Lambda function.
lambdaArn This property is required. String
  • ARN of the Lambda function.
lambdaVersion This property is required. String
  • Version of the Lambda function.

GetUserPoolLambdaConfigPreTokenGenerationConfig

LambdaArn This property is required. string
  • ARN of the Lambda function.
LambdaVersion This property is required. string
  • Version of the Lambda function.
LambdaArn This property is required. string
  • ARN of the Lambda function.
LambdaVersion This property is required. string
  • Version of the Lambda function.
lambdaArn This property is required. String
  • ARN of the Lambda function.
lambdaVersion This property is required. String
  • Version of the Lambda function.
lambdaArn This property is required. string
  • ARN of the Lambda function.
lambdaVersion This property is required. string
  • Version of the Lambda function.
lambda_arn This property is required. str
  • ARN of the Lambda function.
lambda_version This property is required. str
  • Version of the Lambda function.
lambdaArn This property is required. String
  • ARN of the Lambda function.
lambdaVersion This property is required. String
  • Version of the Lambda function.

GetUserPoolSchemaAttribute

AttributeDataType This property is required. string
  • Data type of the attribute (e.g., string, number).
DeveloperOnlyAttribute This property is required. bool
  • Whether the attribute is for developer use only.
Mutable This property is required. bool
  • Whether the attribute can be changed after user creation.
Name This property is required. string
  • Name of the attribute.
NumberAttributeConstraints This property is required. List<GetUserPoolSchemaAttributeNumberAttributeConstraint>
Required This property is required. bool
  • Whether the attribute is required during user registration.
  • number_attribute_constraints - Constraints for numeric attributes.
  • string_attribute_constraints - Constraints for string attributes.
StringAttributeConstraints This property is required. List<GetUserPoolSchemaAttributeStringAttributeConstraint>
AttributeDataType This property is required. string
  • Data type of the attribute (e.g., string, number).
DeveloperOnlyAttribute This property is required. bool
  • Whether the attribute is for developer use only.
Mutable This property is required. bool
  • Whether the attribute can be changed after user creation.
Name This property is required. string
  • Name of the attribute.
NumberAttributeConstraints This property is required. []GetUserPoolSchemaAttributeNumberAttributeConstraint
Required This property is required. bool
  • Whether the attribute is required during user registration.
  • number_attribute_constraints - Constraints for numeric attributes.
  • string_attribute_constraints - Constraints for string attributes.
StringAttributeConstraints This property is required. []GetUserPoolSchemaAttributeStringAttributeConstraint
attributeDataType This property is required. String
  • Data type of the attribute (e.g., string, number).
developerOnlyAttribute This property is required. Boolean
  • Whether the attribute is for developer use only.
mutable This property is required. Boolean
  • Whether the attribute can be changed after user creation.
name This property is required. String
  • Name of the attribute.
numberAttributeConstraints This property is required. List<GetUserPoolSchemaAttributeNumberAttributeConstraint>
required This property is required. Boolean
  • Whether the attribute is required during user registration.
  • number_attribute_constraints - Constraints for numeric attributes.
  • string_attribute_constraints - Constraints for string attributes.
stringAttributeConstraints This property is required. List<GetUserPoolSchemaAttributeStringAttributeConstraint>
attributeDataType This property is required. string
  • Data type of the attribute (e.g., string, number).
developerOnlyAttribute This property is required. boolean
  • Whether the attribute is for developer use only.
mutable This property is required. boolean
  • Whether the attribute can be changed after user creation.
name This property is required. string
  • Name of the attribute.
numberAttributeConstraints This property is required. GetUserPoolSchemaAttributeNumberAttributeConstraint[]
required This property is required. boolean
  • Whether the attribute is required during user registration.
  • number_attribute_constraints - Constraints for numeric attributes.
  • string_attribute_constraints - Constraints for string attributes.
stringAttributeConstraints This property is required. GetUserPoolSchemaAttributeStringAttributeConstraint[]
attribute_data_type This property is required. str
  • Data type of the attribute (e.g., string, number).
developer_only_attribute This property is required. bool
  • Whether the attribute is for developer use only.
mutable This property is required. bool
  • Whether the attribute can be changed after user creation.
name This property is required. str
  • Name of the attribute.
number_attribute_constraints This property is required. Sequence[GetUserPoolSchemaAttributeNumberAttributeConstraint]
required This property is required. bool
  • Whether the attribute is required during user registration.
  • number_attribute_constraints - Constraints for numeric attributes.
  • string_attribute_constraints - Constraints for string attributes.
string_attribute_constraints This property is required. Sequence[GetUserPoolSchemaAttributeStringAttributeConstraint]
attributeDataType This property is required. String
  • Data type of the attribute (e.g., string, number).
developerOnlyAttribute This property is required. Boolean
  • Whether the attribute is for developer use only.
mutable This property is required. Boolean
  • Whether the attribute can be changed after user creation.
name This property is required. String
  • Name of the attribute.
numberAttributeConstraints This property is required. List<Property Map>
required This property is required. Boolean
  • Whether the attribute is required during user registration.
  • number_attribute_constraints - Constraints for numeric attributes.
  • string_attribute_constraints - Constraints for string attributes.
stringAttributeConstraints This property is required. List<Property Map>

GetUserPoolSchemaAttributeNumberAttributeConstraint

MaxValue This property is required. string
  • Maximum allowed value.
MinValue This property is required. string
  • Minimum allowed value.
MaxValue This property is required. string
  • Maximum allowed value.
MinValue This property is required. string
  • Minimum allowed value.
maxValue This property is required. String
  • Maximum allowed value.
minValue This property is required. String
  • Minimum allowed value.
maxValue This property is required. string
  • Maximum allowed value.
minValue This property is required. string
  • Minimum allowed value.
max_value This property is required. str
  • Maximum allowed value.
min_value This property is required. str
  • Minimum allowed value.
maxValue This property is required. String
  • Maximum allowed value.
minValue This property is required. String
  • Minimum allowed value.

GetUserPoolSchemaAttributeStringAttributeConstraint

MaxLength This property is required. string
  • Maximum allowed length.
MinLength This property is required. string
  • Minimum allowed length.
MaxLength This property is required. string
  • Maximum allowed length.
MinLength This property is required. string
  • Minimum allowed length.
maxLength This property is required. String
  • Maximum allowed length.
minLength This property is required. String
  • Minimum allowed length.
maxLength This property is required. string
  • Maximum allowed length.
minLength This property is required. string
  • Minimum allowed length.
max_length This property is required. str
  • Maximum allowed length.
min_length This property is required. str
  • Minimum allowed length.
maxLength This property is required. String
  • Maximum allowed length.
minLength This property is required. String
  • Minimum allowed length.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.
AWS v6.78.0 published on Thursday, Apr 24, 2025 by Pulumi