SubDomain

class aws_cdk.aws_amplify_alpha.SubDomain(*, branch, prefix=None)

Bases: object

(experimental) Sub domain settings.

Parameters:
  • branch (IBranch) – (experimental) The branch.

  • prefix (Optional[str]) – (experimental) The prefix. Use ‘’ to map to the root of the domain Default: - the branch name

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_amplify_alpha as amplify_alpha

# branch: amplify_alpha.Branch

sub_domain = amplify_alpha.SubDomain(
    branch=branch,

    # the properties below are optional
    prefix="prefix"
)

Attributes

branch

(experimental) The branch.

Stability:

experimental

prefix

(experimental) The prefix.

Use ‘’ to map to the root of the domain

Default:
  • the branch name

Stability:

experimental