Class Domain
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.amplify.Domain
- All Implemented Interfaces:
IConstruct
,IDependable
,IResource
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.134Z")
@Stability(Experimental)
public class Domain
extends Resource
(experimental) An Amplify Console domain.
Example:
App amplifyApp; Branch master; Branch dev; Domain domain = amplifyApp.addDomain("example.com", DomainOptions.builder() .enableAutoSubdomain(true) // in case subdomains should be auto registered for branches .autoSubdomainCreationPatterns(List.of("*", "pr*")) .build()); domain.mapRoot(master); // map master branch to domain root domain.mapSubDomain(master, "www"); domain.mapSubDomain(dev);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
Domain
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
Domain
(software.amazon.jsii.JsiiObjectRef objRef) Domain
(software.constructs.Construct scope, String id, DomainProps props) -
Method Summary
Modifier and TypeMethodDescriptiongetArn()
(experimental) The ARN of the domain.(experimental) The DNS Record for certificate verification.(experimental) Branch patterns for the automatically created subdomain.(experimental) The IAM service role for the subdomain.(experimental) Specifies whether the automated creation of subdomains for branches is enabled.(experimental) The name of the domain.(experimental) The status of the domain association.(experimental) The reason for the current status of the domain.(experimental) Maps a branch to the domain root.mapSubDomain
(IBranch branch) (experimental) Maps a branch to a sub domain.mapSubDomain
(IBranch branch, String prefix) (experimental) Maps a branch to a sub domain.validate()
(experimental) Validate the current construct.Methods inherited from class software.amazon.awscdk.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize
Methods inherited from class software.constructs.Construct
toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Domain
protected Domain(software.amazon.jsii.JsiiObjectRef objRef) -
Domain
protected Domain(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Domain
@Stability(Experimental) public Domain(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull DomainProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.
-
-
Method Details
-
mapRoot
(experimental) Maps a branch to the domain root.- Parameters:
branch
- This parameter is required.
-
mapSubDomain
@Stability(Experimental) @NotNull public Domain mapSubDomain(@NotNull IBranch branch, @Nullable String prefix) (experimental) Maps a branch to a sub domain.- Parameters:
branch
- The branch. This parameter is required.prefix
- The prefix.
-
mapSubDomain
(experimental) Maps a branch to a sub domain.- Parameters:
branch
- The branch. This parameter is required.
-
validate
(experimental) Validate the current construct.This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.
-
getArn
(experimental) The ARN of the domain. -
getCertificateRecord
(experimental) The DNS Record for certificate verification. -
getDomainAutoSubDomainCreationPatterns
(experimental) Branch patterns for the automatically created subdomain. -
getDomainAutoSubDomainIamRole
(experimental) The IAM service role for the subdomain. -
getDomainEnableAutoSubDomain
(experimental) Specifies whether the automated creation of subdomains for branches is enabled. -
getDomainName
(experimental) The name of the domain. -
getDomainStatus
(experimental) The status of the domain association. -
getStatusReason
(experimental) The reason for the current status of the domain.
-