public static final class CfnUserPoolDomain.Builder
extends java.lang.Object
CfnUserPoolDomain
.Modifier and Type | Method and Description |
---|---|
CfnUserPoolDomain |
build() |
static CfnUserPoolDomain.Builder |
create(Construct scope,
java.lang.String id) |
CfnUserPoolDomain.Builder |
customDomainConfig(CfnUserPoolDomain.CustomDomainConfigTypeProperty customDomainConfig)
The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.
|
CfnUserPoolDomain.Builder |
customDomainConfig(IResolvable customDomainConfig)
The configuration for a custom domain that hosts the sign-up and sign-in pages for your application.
|
CfnUserPoolDomain.Builder |
domain(java.lang.String domain)
The domain name for the domain that hosts the sign-up and sign-in pages for your application.
|
CfnUserPoolDomain.Builder |
userPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to associate a user pool domain.
|
public static CfnUserPoolDomain.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnUserPoolDomain.CustomDomainConfigTypeProperty.Builder
.public CfnUserPoolDomain.Builder domain(java.lang.String domain)
For example: auth.example.com
. If you're using a prefix domain, this field denotes the first part of the domain before .auth.[region].amazoncognito.com
.
This string can include only lowercase letters, numbers, and hyphens. Don't use a hyphen for the first or last character. Use periods to separate subdomain names.
domain
- The domain name for the domain that hosts the sign-up and sign-in pages for your application. This parameter is required.this
public CfnUserPoolDomain.Builder userPoolId(java.lang.String userPoolId)
userPoolId
- The user pool ID for the user pool where you want to associate a user pool domain. This parameter is required.this
public CfnUserPoolDomain.Builder customDomainConfig(IResolvable customDomainConfig)
Use this object to specify an SSL certificate that is managed by ACM.
customDomainConfig
- The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. This parameter is required.this
public CfnUserPoolDomain.Builder customDomainConfig(CfnUserPoolDomain.CustomDomainConfigTypeProperty customDomainConfig)
Use this object to specify an SSL certificate that is managed by ACM.
customDomainConfig
- The configuration for a custom domain that hosts the sign-up and sign-in pages for your application. This parameter is required.this
public CfnUserPoolDomain build()