Interface IDomainProps
(experimental) Properties for a Domain.
Inherited Members
Namespace: Amazon.CDK.AWS.Amplify.Alpha
Assembly: Amazon.CDK.AWS.Amplify.Alpha.dll
Syntax (csharp)
public interface IDomainProps : IDomainOptions
Syntax (vb)
Public Interface IDomainProps
Inherits IDomainOptions
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Amplify.Alpha;
using Amazon.CDK.AWS.CertificateManager;
using Amazon.CDK.AWS.IAM;
App app;
Branch branch;
Certificate certificate;
Role role;
var domainProps = new DomainProps {
App = app,
// the properties below are optional
AutoSubdomainCreationPatterns = new [] { "autoSubdomainCreationPatterns" },
AutoSubDomainIamRole = role,
CustomCertificate = certificate,
DomainName = "domainName",
EnableAutoSubdomain = false,
SubDomains = new [] { new SubDomain {
Branch = branch,
// the properties below are optional
Prefix = "prefix"
} }
};
Synopsis
Properties
App | (experimental) The application to which the domain must be connected. |
AutoSubDomainIamRole | (experimental) The IAM role with access to Route53 when using enableAutoSubdomain. |
Properties
App
(experimental) The application to which the domain must be connected.
IApp App { get; }
Property Value
Remarks
Stability: Experimental
AutoSubDomainIamRole
(experimental) The IAM role with access to Route53 when using enableAutoSubdomain.
virtual IRole AutoSubDomainIamRole { get; }
Property Value
Remarks
Default: the IAM role from App.grantPrincipal
Stability: Experimental