DomainProps

class aws_cdk.aws_amplify.DomainProps(*, domain_name=None, sub_domains=None, app)

Bases: aws_cdk.aws_amplify.DomainOptions

(experimental) Properties for a Domain.

Parameters
  • domain_name (Optional[str]) – (experimental) The name of the domain. Default: - the construct’s id

  • sub_domains (Optional[List[SubDomain]]) – (experimental) Subdomains. Default: - use addSubDomain() to add subdomains

  • app (IApp) – (experimental) The application to which the domain must be connected.

Stability

experimental

Attributes

app

(experimental) The application to which the domain must be connected.

Stability

experimental

Return type

IApp

domain_name

(experimental) The name of the domain.

Default
  • the construct’s id

Stability

experimental

Return type

Optional[str]

sub_domains

(experimental) Subdomains.

Default
  • use addSubDomain() to add subdomains

Stability

experimental

Return type

Optional[List[SubDomain]]