Interface DomainProps
- All Superinterfaces:
DomainOptions,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DomainProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.137Z")
@Stability(Experimental)
public interface DomainProps
extends software.amazon.jsii.JsiiSerializable, DomainOptions
(experimental) Properties for a Domain.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDomainPropsstatic final classAn implementation forDomainProps -
Method Summary
Modifier and TypeMethodDescriptionstatic DomainProps.Builderbuilder()getApp()(experimental) The application to which the domain must be connected.default IRole(experimental) The IAM role with access to Route53 when using enableAutoSubdomain.Methods inherited from interface software.amazon.awscdk.services.amplify.DomainOptions
getAutoSubdomainCreationPatterns, getDomainName, getEnableAutoSubdomain, getSubDomainsMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApp
(experimental) The application to which the domain must be connected. -
getAutoSubDomainIamRole
(experimental) The IAM role with access to Route53 when using enableAutoSubdomain.Default: the IAM role from App.grantPrincipal
-
builder
- Returns:
- a
DomainProps.BuilderofDomainProps
-