AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi
aws-native.cognito.getUserPool
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi
Resource Type definition for AWS::Cognito::UserPool
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>
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]
func LookupUserPool(ctx *Context, args *LookupUserPoolArgs, opts ...InvokeOption) (*LookupUserPoolResult, error)
func LookupUserPoolOutput(ctx *Context, args *LookupUserPoolOutputArgs, opts ...InvokeOption) LookupUserPoolResultOutput
> 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)
}
public static CompletableFuture<GetUserPoolResult> getUserPool(GetUserPoolArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cognito:getUserPool
arguments:
# arguments dictionary
The following arguments are supported:
- User
Pool stringId
- User
Pool stringId
- user
Pool StringId
- user
Pool stringId
- user_
pool_ strid
- user
Pool StringId
getUserPool Result
The following output properties are available:
- Account
Recovery Pulumi.Setting Aws Native. Cognito. Outputs. User Pool Account Recovery Setting - Admin
Create Pulumi.User Config Aws Native. Cognito. Outputs. User Pool Admin Create User Config - Alias
Attributes List<string> - Arn string
- Auto
Verified List<string>Attributes - Deletion
Protection string - Device
Configuration Pulumi.Aws Native. Cognito. Outputs. User Pool Device Configuration - Email
Configuration Pulumi.Aws Native. Cognito. Outputs. User Pool Email Configuration - Email
Verification stringMessage - Email
Verification stringSubject - Lambda
Config Pulumi.Aws Native. Cognito. Outputs. User Pool Lambda Config - Mfa
Configuration string - Policies
Pulumi.
Aws Native. Cognito. Outputs. User Pool Policies - Provider
Name string - Provider
Url string - Schema
List<Pulumi.
Aws Native. Cognito. Outputs. User Pool Schema Attribute> - Sms
Authentication stringMessage - Sms
Configuration Pulumi.Aws Native. Cognito. Outputs. User Pool Sms Configuration - Sms
Verification stringMessage - User
Attribute Pulumi.Update Settings Aws Native. Cognito. Outputs. User Pool User Attribute Update Settings - User
Pool Pulumi.Add Ons Aws Native. Cognito. Outputs. User Pool Add Ons - User
Pool stringId - User
Pool stringName - Dictionary<string, string>
- Username
Attributes List<string> - Username
Configuration Pulumi.Aws Native. Cognito. Outputs. User Pool Username Configuration - Verification
Message Pulumi.Template Aws Native. Cognito. Outputs. User Pool Verification Message Template
- Account
Recovery UserSetting Pool Account Recovery Setting - Admin
Create UserUser Config Pool Admin Create User Config - Alias
Attributes []string - Arn string
- Auto
Verified []stringAttributes - Deletion
Protection string - Device
Configuration UserPool Device Configuration - Email
Configuration UserPool Email Configuration - Email
Verification stringMessage - Email
Verification stringSubject - Lambda
Config UserPool Lambda Config - Mfa
Configuration string - Policies
User
Pool Policies - Provider
Name string - Provider
Url string - Schema
[]User
Pool Schema Attribute - Sms
Authentication stringMessage - Sms
Configuration UserPool Sms Configuration - Sms
Verification stringMessage - User
Attribute UserUpdate Settings Pool User Attribute Update Settings - User
Pool UserAdd Ons Pool Add Ons - User
Pool stringId - User
Pool stringName - map[string]string
- Username
Attributes []string - Username
Configuration UserPool Username Configuration - Verification
Message UserTemplate Pool Verification Message Template
- account
Recovery UserSetting Pool Account Recovery Setting - admin
Create UserUser Config Pool Admin Create User Config - alias
Attributes List<String> - arn String
- auto
Verified List<String>Attributes - deletion
Protection String - device
Configuration UserPool Device Configuration - email
Configuration UserPool Email Configuration - email
Verification StringMessage - email
Verification StringSubject - lambda
Config UserPool Lambda Config - mfa
Configuration String - policies
User
Pool Policies - provider
Name String - provider
Url String - schema
List<User
Pool Schema Attribute> - sms
Authentication StringMessage - sms
Configuration UserPool Sms Configuration - sms
Verification StringMessage - user
Attribute UserUpdate Settings Pool User Attribute Update Settings - user
Pool UserAdd Ons Pool Add Ons - user
Pool StringId - user
Pool StringName - Map<String,String>
- username
Attributes List<String> - username
Configuration UserPool Username Configuration - verification
Message UserTemplate Pool Verification Message Template
- account
Recovery UserSetting Pool Account Recovery Setting - admin
Create UserUser Config Pool Admin Create User Config - alias
Attributes string[] - arn string
- auto
Verified string[]Attributes - deletion
Protection string - device
Configuration UserPool Device Configuration - email
Configuration UserPool Email Configuration - email
Verification stringMessage - email
Verification stringSubject - lambda
Config UserPool Lambda Config - mfa
Configuration string - policies
User
Pool Policies - provider
Name string - provider
Url string - schema
User
Pool Schema Attribute[] - sms
Authentication stringMessage - sms
Configuration UserPool Sms Configuration - sms
Verification stringMessage - user
Attribute UserUpdate Settings Pool User Attribute Update Settings - user
Pool UserAdd Ons Pool Add Ons - user
Pool stringId - user
Pool stringName - {[key: string]: string}
- username
Attributes string[] - username
Configuration UserPool Username Configuration - verification
Message UserTemplate Pool Verification Message Template
- account_
recovery_ Usersetting Pool Account Recovery Setting - admin_
create_ Useruser_ config Pool Admin Create User Config - alias_
attributes Sequence[str] - arn str
- auto_
verified_ Sequence[str]attributes - deletion_
protection str - device_
configuration UserPool Device Configuration - email_
configuration UserPool Email Configuration - email_
verification_ strmessage - email_
verification_ strsubject - lambda_
config UserPool Lambda Config - mfa_
configuration str - policies
User
Pool Policies - provider_
name str - provider_
url str - schema
Sequence[User
Pool Schema Attribute] - sms_
authentication_ strmessage - sms_
configuration UserPool Sms Configuration - sms_
verification_ strmessage - user_
attribute_ Userupdate_ settings Pool User Attribute Update Settings - user_
pool_ Useradd_ ons Pool Add Ons - user_
pool_ strid - user_
pool_ strname - Mapping[str, str]
- username_
attributes Sequence[str] - username_
configuration UserPool Username Configuration - verification_
message_ Usertemplate Pool Verification Message Template
- account
Recovery Property MapSetting - admin
Create Property MapUser Config - alias
Attributes List<String> - arn String
- auto
Verified List<String>Attributes - deletion
Protection String - device
Configuration Property Map - email
Configuration Property Map - email
Verification StringMessage - email
Verification StringSubject - lambda
Config Property Map - mfa
Configuration String - policies Property Map
- provider
Name String - provider
Url String - schema List<Property Map>
- sms
Authentication StringMessage - sms
Configuration Property Map - sms
Verification StringMessage - user
Attribute Property MapUpdate Settings - user
Pool Property MapAdd Ons - user
Pool StringId - user
Pool StringName - Map<String>
- username
Attributes List<String> - username
Configuration Property Map - verification
Message Property MapTemplate
Supporting Types
UserPoolAccountRecoverySetting
UserPoolAddOns
- Advanced
Security stringMode
- Advanced
Security stringMode
- advanced
Security StringMode
- advanced
Security stringMode
- advanced
Security StringMode
UserPoolAdminCreateUserConfig
UserPoolCustomEmailSender
- Lambda
Arn string - Lambda
Version string
- Lambda
Arn string - Lambda
Version string
- lambda
Arn String - lambda
Version String
- lambda
Arn string - lambda
Version string
- lambda_
arn str - lambda_
version str
- lambda
Arn String - lambda
Version String
UserPoolCustomSmsSender
- Lambda
Arn string - Lambda
Version string
- Lambda
Arn string - Lambda
Version string
- lambda
Arn String - lambda
Version String
- lambda
Arn string - lambda
Version string
- lambda_
arn str - lambda_
version str
- lambda
Arn String - lambda
Version String
UserPoolDeviceConfiguration
- challenge
Required BooleanOn New Device - device
Only BooleanRemembered On User Prompt
- challenge
Required booleanOn New Device - device
Only booleanRemembered On User Prompt
- challenge
Required BooleanOn New Device - device
Only BooleanRemembered On User Prompt
UserPoolEmailConfiguration
- Configuration
Set string - Email
Sending stringAccount - From string
- Reply
To stringEmail Address - Source
Arn string
- Configuration
Set string - Email
Sending stringAccount - From string
- Reply
To stringEmail Address - Source
Arn string
- configuration
Set String - email
Sending StringAccount - from String
- reply
To StringEmail Address - source
Arn String
- configuration
Set string - email
Sending stringAccount - from string
- reply
To stringEmail Address - source
Arn string
- configuration_
set str - email_
sending_ straccount - from_ str
- reply_
to_ stremail_ address - source_
arn str
- configuration
Set String - email
Sending StringAccount - from String
- reply
To StringEmail Address - source
Arn String
UserPoolInviteMessageTemplate
- Email
Message string - Email
Subject string - Sms
Message string
- Email
Message string - Email
Subject string - Sms
Message string
- email
Message String - email
Subject String - sms
Message String
- email
Message string - email
Subject string - sms
Message string
- email_
message str - email_
subject str - sms_
message str
- email
Message String - email
Subject String - sms
Message String
UserPoolLambdaConfig
- Create
Auth stringChallenge - Custom
Email Pulumi.Sender Aws Native. Cognito. Inputs. User Pool Custom Email Sender - Custom
Message string - Custom
Sms Pulumi.Sender Aws Native. Cognito. Inputs. User Pool Custom Sms Sender - Define
Auth stringChallenge - Kms
Key stringId - Post
Authentication string - Post
Confirmation string - Pre
Authentication string - Pre
Sign stringUp - Pre
Token stringGeneration - Pre
Token Pulumi.Generation Config Aws Native. Cognito. Inputs. User Pool Pre Token Generation Config - User
Migration string - Verify
Auth stringChallenge Response
- Create
Auth stringChallenge - Custom
Email UserSender Pool Custom Email Sender - Custom
Message string - Custom
Sms UserSender Pool Custom Sms Sender - Define
Auth stringChallenge - Kms
Key stringId - Post
Authentication string - Post
Confirmation string - Pre
Authentication string - Pre
Sign stringUp - Pre
Token stringGeneration - Pre
Token UserGeneration Config Pool Pre Token Generation Config - User
Migration string - Verify
Auth stringChallenge Response
- create
Auth StringChallenge - custom
Email UserSender Pool Custom Email Sender - custom
Message String - custom
Sms UserSender Pool Custom Sms Sender - define
Auth StringChallenge - kms
Key StringId - post
Authentication String - post
Confirmation String - pre
Authentication String - pre
Sign StringUp - pre
Token StringGeneration - pre
Token UserGeneration Config Pool Pre Token Generation Config - user
Migration String - verify
Auth StringChallenge Response
- create
Auth stringChallenge - custom
Email UserSender Pool Custom Email Sender - custom
Message string - custom
Sms UserSender Pool Custom Sms Sender - define
Auth stringChallenge - kms
Key stringId - post
Authentication string - post
Confirmation string - pre
Authentication string - pre
Sign stringUp - pre
Token stringGeneration - pre
Token UserGeneration Config Pool Pre Token Generation Config - user
Migration string - verify
Auth stringChallenge Response
- create_
auth_ strchallenge - custom_
email_ Usersender Pool Custom Email Sender - custom_
message str - custom_
sms_ Usersender Pool Custom Sms Sender - define_
auth_ strchallenge - kms_
key_ strid - post_
authentication str - post_
confirmation str - pre_
authentication str - pre_
sign_ strup - pre_
token_ strgeneration - pre_
token_ Usergeneration_ config Pool Pre Token Generation Config - user_
migration str - verify_
auth_ strchallenge_ response
- create
Auth StringChallenge - custom
Email Property MapSender - custom
Message String - custom
Sms Property MapSender - define
Auth StringChallenge - kms
Key StringId - post
Authentication String - post
Confirmation String - pre
Authentication String - pre
Sign StringUp - pre
Token StringGeneration - pre
Token Property MapGeneration Config - user
Migration String - verify
Auth StringChallenge Response
UserPoolNumberAttributeConstraints
UserPoolPasswordPolicy
- Minimum
Length int - Require
Lowercase bool - Require
Numbers bool - Require
Symbols bool - Require
Uppercase bool - Temporary
Password intValidity Days
- Minimum
Length int - Require
Lowercase bool - Require
Numbers bool - Require
Symbols bool - Require
Uppercase bool - Temporary
Password intValidity Days
- minimum
Length Integer - require
Lowercase Boolean - require
Numbers Boolean - require
Symbols Boolean - require
Uppercase Boolean - temporary
Password IntegerValidity Days
- minimum
Length number - require
Lowercase boolean - require
Numbers boolean - require
Symbols boolean - require
Uppercase boolean - temporary
Password numberValidity Days
- minimum_
length int - require_
lowercase bool - require_
numbers bool - require_
symbols bool - require_
uppercase bool - temporary_
password_ intvalidity_ days
- minimum
Length Number - require
Lowercase Boolean - require
Numbers Boolean - require
Symbols Boolean - require
Uppercase Boolean - temporary
Password NumberValidity Days
UserPoolPolicies
UserPoolPreTokenGenerationConfig
- Lambda
Arn string - Lambda
Version string
- Lambda
Arn string - Lambda
Version string
- lambda
Arn String - lambda
Version String
- lambda
Arn string - lambda
Version string
- lambda_
arn str - lambda_
version str
- lambda
Arn String - lambda
Version String
UserPoolRecoveryOption
UserPoolSchemaAttribute
- attribute
Data StringType - developer
Only BooleanAttribute - mutable Boolean
- name String
- number
Attribute Property MapConstraints - required Boolean
- string
Attribute Property MapConstraints
UserPoolSmsConfiguration
- External
Id string - Sns
Caller stringArn - Sns
Region string
- External
Id string - Sns
Caller stringArn - Sns
Region string
- external
Id String - sns
Caller StringArn - sns
Region String
- external
Id string - sns
Caller stringArn - sns
Region string
- external_
id str - sns_
caller_ strarn - sns_
region str
- external
Id String - sns
Caller StringArn - sns
Region String
UserPoolStringAttributeConstraints
- max_
length str - min_
length str
UserPoolUserAttributeUpdateSettings
- Attributes
Require List<string>Verification Before Update
- attributes
Require List<String>Verification Before Update
- attributes_
require_ Sequence[str]verification_ before_ update
- attributes
Require List<String>Verification Before Update
UserPoolUsernameConfiguration
- Case
Sensitive bool
- Case
Sensitive bool
- case
Sensitive Boolean
- case
Sensitive boolean
- case_
sensitive bool
- case
Sensitive Boolean
UserPoolVerificationMessageTemplate
- Default
Email stringOption - Email
Message string - Email
Message stringBy Link - Email
Subject string - Email
Subject stringBy Link - Sms
Message string
- Default
Email stringOption - Email
Message string - Email
Message stringBy Link - Email
Subject string - Email
Subject stringBy Link - Sms
Message string
- default
Email StringOption - email
Message String - email
Message StringBy Link - email
Subject String - email
Subject StringBy Link - sms
Message String
- default
Email stringOption - email
Message string - email
Message stringBy Link - email
Subject string - email
Subject stringBy Link - sms
Message string
- default
Email StringOption - email
Message String - email
Message StringBy Link - email
Subject String - email
Subject StringBy Link - sms
Message String
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi