We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
Resource Type definition for AWS::Cognito::UserPoolDomain
Using getUserPoolDomain
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 getUserPoolDomain(args: GetUserPoolDomainArgs, opts?: InvokeOptions): Promise<GetUserPoolDomainResult>
function getUserPoolDomainOutput(args: GetUserPoolDomainOutputArgs, opts?: InvokeOptions): Output<GetUserPoolDomainResult>def get_user_pool_domain(domain: Optional[str] = None,
user_pool_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserPoolDomainResult
def get_user_pool_domain_output(domain: Optional[pulumi.Input[str]] = None,
user_pool_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserPoolDomainResult]func LookupUserPoolDomain(ctx *Context, args *LookupUserPoolDomainArgs, opts ...InvokeOption) (*LookupUserPoolDomainResult, error)
func LookupUserPoolDomainOutput(ctx *Context, args *LookupUserPoolDomainOutputArgs, opts ...InvokeOption) LookupUserPoolDomainResultOutput> Note: This function is named LookupUserPoolDomain in the Go SDK.
public static class GetUserPoolDomain
{
public static Task<GetUserPoolDomainResult> InvokeAsync(GetUserPoolDomainArgs args, InvokeOptions? opts = null)
public static Output<GetUserPoolDomainResult> Invoke(GetUserPoolDomainInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUserPoolDomainResult> getUserPoolDomain(GetUserPoolDomainArgs args, InvokeOptions options)
public static Output<GetUserPoolDomainResult> getUserPoolDomain(GetUserPoolDomainArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:cognito:getUserPoolDomain
arguments:
# arguments dictionaryThe following arguments are supported:
- Domain string
- The name of the domain that you want to update. For custom domains, this is the fully-qualified domain name, for example
auth.example.com. For prefix domains, this is the prefix alone, such asmyprefix. - User
Pool stringId - The ID of the user pool that is associated with the domain you're updating.
- Domain string
- The name of the domain that you want to update. For custom domains, this is the fully-qualified domain name, for example
auth.example.com. For prefix domains, this is the prefix alone, such asmyprefix. - User
Pool stringId - The ID of the user pool that is associated with the domain you're updating.
- domain String
- The name of the domain that you want to update. For custom domains, this is the fully-qualified domain name, for example
auth.example.com. For prefix domains, this is the prefix alone, such asmyprefix. - user
Pool StringId - The ID of the user pool that is associated with the domain you're updating.
- domain string
- The name of the domain that you want to update. For custom domains, this is the fully-qualified domain name, for example
auth.example.com. For prefix domains, this is the prefix alone, such asmyprefix. - user
Pool stringId - The ID of the user pool that is associated with the domain you're updating.
- domain str
- The name of the domain that you want to update. For custom domains, this is the fully-qualified domain name, for example
auth.example.com. For prefix domains, this is the prefix alone, such asmyprefix. - user_
pool_ strid - The ID of the user pool that is associated with the domain you're updating.
- domain String
- The name of the domain that you want to update. For custom domains, this is the fully-qualified domain name, for example
auth.example.com. For prefix domains, this is the prefix alone, such asmyprefix. - user
Pool StringId - The ID of the user pool that is associated with the domain you're updating.
getUserPoolDomain Result
The following output properties are available:
- Cloud
Front stringDistribution - The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
- Custom
Domain Pulumi.Config Aws Native. Cognito. Outputs. User Pool Domain Custom Domain Config Type The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM.
When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain.
- Cloud
Front stringDistribution - The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
- Custom
Domain UserConfig Pool Domain Custom Domain Config Type The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM.
When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain.
- cloud
Front StringDistribution - The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
- custom
Domain UserConfig Pool Domain Custom Domain Config Type The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM.
When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain.
- cloud
Front stringDistribution - The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
- custom
Domain UserConfig Pool Domain Custom Domain Config Type The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM.
When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain.
- cloud_
front_ strdistribution - The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
- custom_
domain_ Userconfig Pool Domain Custom Domain Config Type The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM.
When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain.
- cloud
Front StringDistribution - The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
- custom
Domain Property MapConfig The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. Use this object to specify an SSL certificate that is managed by ACM.
When you create a custom domain, the passkey RP ID defaults to the custom domain. If you had a prefix domain active, this will cause passkey integration for your prefix domain to stop working due to a mismatch in RP ID. To keep the prefix domain passkey integration working, you can explicitly set RP ID to the prefix domain.
Supporting Types
UserPoolDomainCustomDomainConfigType
- Certificate
Arn string - The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
- Certificate
Arn string - The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
- certificate
Arn String - The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
- certificate
Arn string - The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
- certificate_
arn str - The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
- certificate
Arn String - The Amazon Resource Name (ARN) of an Certificate Manager SSL certificate. You use this certificate for the subdomain of your custom domain.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Mar 9, 2026 by Pulumi
