Learn R Programming

paws.security.identity (version 0.1.0)

cognitoidentityprovider_create_user_pool_domain: Creates a new domain for a user pool

Description

Creates a new domain for a user pool.

Usage

cognitoidentityprovider_create_user_pool_domain(Domain, UserPoolId,
  CustomDomainConfig)

Arguments

Domain

[required] The domain string.

UserPoolId

[required] The user pool ID.

CustomDomainConfig

The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.

Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.

For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.

Request syntax

svc$create_user_pool_domain(
  Domain = "string",
  UserPoolId = "string",
  CustomDomainConfig = list(
    CertificateArn = "string"
  )
)