UserPoolDomainProps

class aws_cdk.aws_cognito.UserPoolDomainProps(*, cognito_domain=None, custom_domain=None, user_pool)

Bases: aws_cdk.aws_cognito.UserPoolDomainOptions

(experimental) Props for UserPoolDomain construct.

Parameters
  • cognito_domain (Optional[CognitoDomainOptions]) – (experimental) Associate a cognito prefix domain with your user pool Either customDomain or cognitoDomain must be specified. Default: - not set if customDomain is specified, otherwise, throws an error.

  • custom_domain (Optional[CustomDomainOptions]) – (experimental) Associate a custom domain with your user pool Either customDomain or cognitoDomain must be specified. Default: - not set if cognitoDomain is specified, otherwise, throws an error.

  • user_pool (IUserPool) – (experimental) The user pool to which this domain should be associated.

Stability

experimental

Attributes

cognito_domain

(experimental) Associate a cognito prefix domain with your user pool Either customDomain or cognitoDomain must be specified.

Default
  • not set if customDomain is specified, otherwise, throws an error.

See

https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-assign-domain-prefix.html

Stability

experimental

Return type

Optional[CognitoDomainOptions]

custom_domain

(experimental) Associate a custom domain with your user pool Either customDomain or cognitoDomain must be specified.

Default
  • not set if cognitoDomain is specified, otherwise, throws an error.

See

https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-add-custom-domain.html

Stability

experimental

Return type

Optional[CustomDomainOptions]

user_pool

(experimental) The user pool to which this domain should be associated.

Stability

experimental

Return type

IUserPool