DomainProps
Properties for defining a Domain
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dcdn-domain
Initializer
import { DomainProps } from '@alicloud/ros-cdk-dcdn'
const domainProps: DomainProps = { ... }
Properties
Name | Type | Description |
---|---|---|
domainName |
string | @alicloud/ros-cdk-core.IResolvable |
Property domainName: The DCDN domain name. |
sources |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | SourcesProperty[] |
Property sources: The list of origin URLs. |
checkUrl |
string | @alicloud/ros-cdk-core.IResolvable |
Property checkUrl: The validation of the origin. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: The ID of the resource group. |
scope |
string | @alicloud/ros-cdk-core.IResolvable |
Property scope: Valid values: domestic, overseas, and global. |
tags |
TagsProperty[] |
Property tags: Tags to attach to instance. |
topLevelDomain |
string | @alicloud/ros-cdk-core.IResolvable |
Property topLevelDomain: The top-level domain, which can only be configured by users on the whitelist. |
domainName
Required
public readonly domainName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property domainName: The DCDN domain name.
Wildcard domain names that start with periods (.) are supported. For example, .a.com.
sources
Required
public readonly sources: IResolvable | IResolvable | SourcesProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | SourcesProperty[]
Property sources: The list of origin URLs.
checkUrl
Optional
public readonly checkUrl: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property checkUrl: The validation of the origin.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group.
If this is left blank, the system automatically fills in the ID of the default resource group.
scope
Optional
public readonly scope: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property scope: Valid values: domestic, overseas, and global.
Default value: domestic. The setting is supported for users outside mainland China, users in mainland China of level 3 or above.
tags
Optional
public readonly tags: TagsProperty[];
- Type: TagsProperty[]
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
topLevelDomain
Optional
public readonly topLevelDomain: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property topLevelDomain: The top-level domain, which can only be configured by users on the whitelist.