Interface DomainProps
- All Superinterfaces:
DomainOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DomainProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:13:07.662Z")
@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.alpha.*; import software.amazon.awscdk.services.certificatemanager.*; import software.amazon.awscdk.services.iam.*; App app; Branch branch; Certificate certificate; Role role; DomainProps domainProps = DomainProps.builder() .app(app) // the properties below are optional .autoSubdomainCreationPatterns(List.of("autoSubdomainCreationPatterns")) .autoSubDomainIamRole(role) .customCertificate(certificate) .domainName("domainName") .enableAutoSubdomain(false) .subDomains(List.of(SubDomain.builder() .branch(branch) // the properties below are optional .prefix("prefix") .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDomainProps
static final class
An implementation forDomainProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic DomainProps.Builder
builder()
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.alpha.DomainOptions
getAutoSubdomainCreationPatterns, getCustomCertificate, getDomainName, getEnableAutoSubdomain, getSubDomains
Methods 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.Builder
ofDomainProps
-