@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:43.123Z") @Stability(value=Experimental) public interface DomainProps extends software.amazon.jsii.JsiiSerializable, DomainOptions
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.*;
import software.amazon.awscdk.services.iam.*;
App app;
Branch branch;
Role role;
DomainProps domainProps = DomainProps.builder()
.app(app)
// the properties below are optional
.autoSubdomainCreationPatterns(List.of("autoSubdomainCreationPatterns"))
.autoSubDomainIamRole(role)
.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 |
DomainProps.Builder
A builder for
DomainProps |
static class |
DomainProps.Jsii$Proxy
An implementation for
DomainProps |
| Modifier and Type | Method and Description |
|---|---|
static DomainProps.Builder |
builder() |
IApp |
getApp()
(experimental) The application to which the domain must be connected.
|
default IRole |
getAutoSubDomainIamRole()
(experimental) The IAM role with access to Route53 when using enableAutoSubdomain.
|
getAutoSubdomainCreationPatterns, getDomainName, getEnableAutoSubdomain, getSubDomains@Stability(value=Experimental) @NotNull IApp getApp()
@Stability(value=Experimental) @Nullable default IRole getAutoSubDomainIamRole()
Default: the IAM role from App.grantPrincipal
@Stability(value=Experimental) static DomainProps.Builder builder()
builder in interface DomainOptionsDomainProps.Builder of DomainPropsCopyright © 2022. All rights reserved.