@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:01.408Z") @Stability(value=Experimental) public interface DomainOptions extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.amplify.*;
Branch branch;
DomainOptions domainOptions = DomainOptions.builder()
.autoSubdomainCreationPatterns(List.of("autoSubdomainCreationPatterns"))
.domainName("domainName")
.enableAutoSubdomain(false)
.subDomains(List.of(SubDomain.builder()
.branch(branch)
// the properties below are optional
.prefix("prefix")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
DomainOptions.Builder
A builder for
DomainOptions |
static class |
DomainOptions.Jsii$Proxy
An implementation for
DomainOptions |
| Modifier and Type | Method and Description |
|---|---|
static DomainOptions.Builder |
builder() |
default List<String> |
getAutoSubdomainCreationPatterns()
(experimental) Branches which should automatically create subdomains.
|
default String |
getDomainName()
(experimental) The name of the domain.
|
default Boolean |
getEnableAutoSubdomain()
(experimental) Automatically create subdomains for connected branches.
|
default List<SubDomain> |
getSubDomains()
(experimental) Subdomains.
|
@Stability(value=Experimental) @Nullable default List<String> getAutoSubdomainCreationPatterns()
Default: - all repository branches ['*', 'pr*']
@Stability(value=Experimental) @Nullable default String getDomainName()
Default: - the construct's id
@Stability(value=Experimental) @Nullable default Boolean getEnableAutoSubdomain()
Default: false
@Stability(value=Experimental) @Nullable default List<SubDomain> getSubDomains()
Default: - use `addSubDomain()` to add subdomains
@Stability(value=Experimental) static DomainOptions.Builder builder()
DomainOptions.Builder of DomainOptionsCopyright © 2022. All rights reserved.