@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:09:28.862Z") @Stability(value=Stable) public interface CfnDomainProps extends software.amazon.jsii.JsiiSerializable
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.*; CfnDomainProps cfnDomainProps = CfnDomainProps.builder() .appId("appId") .domainName("domainName") .subDomainSettings(List.of(SubDomainSettingProperty.builder() .branchName("branchName") .prefix("prefix") .build())) // the properties below are optional .autoSubDomainCreationPatterns(List.of("autoSubDomainCreationPatterns")) .autoSubDomainIamRole("autoSubDomainIamRole") .enableAutoSubDomain(false) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDomainProps.Builder
A builder for
CfnDomainProps |
static class |
CfnDomainProps.Jsii$Proxy
An implementation for
CfnDomainProps |
Modifier and Type | Method and Description |
---|---|
static CfnDomainProps.Builder |
builder() |
String |
getAppId()
The unique ID for an Amplify app.
|
default List<String> |
getAutoSubDomainCreationPatterns()
Sets the branch patterns for automatic subdomain creation.
|
default String |
getAutoSubDomainIamRole()
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
|
String |
getDomainName()
The domain name for the domain association.
|
default Object |
getEnableAutoSubDomain()
Enables the automated creation of subdomains for branches.
|
Object |
getSubDomainSettings()
The setting for the subdomain.
|
@Stability(value=Stable) @NotNull String getAppId()
Length Constraints: Minimum length of 1. Maximum length of 20.
Pattern: d[a-z0-9]+
@Stability(value=Stable) @NotNull String getDomainName()
Length Constraints: Maximum length of 255.
Pattern: ^(((?!-)[A-Za-z0-9-]{0,62}[A-Za-z0-9]).)+((?!-)[A-Za-z0-9-]{1,62}[A-Za-z0-9])(.)?$
@Stability(value=Stable) @NotNull Object getSubDomainSettings()
@Stability(value=Stable) @Nullable default List<String> getAutoSubDomainCreationPatterns()
@Stability(value=Stable) @Nullable default String getAutoSubDomainIamRole()
Length Constraints: Maximum length of 1000.
Pattern: ^$|^arn:aws:iam::\d{12}:role.+
@Stability(value=Stable) @Nullable default Object getEnableAutoSubDomain()
@Stability(value=Stable) static CfnDomainProps.Builder builder()
CfnDomainProps.Builder
of CfnDomainProps
Copyright © 2023. All rights reserved.