DomainProps
Properties for defining a Domain.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cdn-domain
Initializer
import { DomainProps } from '@alicloud/ros-cdk-cdn'
const domainProps: DomainProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
cdnType |
string | @alicloud/ros-cdk-core.IResolvable |
Property cdnType: The business type. |
domainName |
string | @alicloud/ros-cdk-core.IResolvable |
Property domainName: The CDN domain name. |
checkUrl |
string | @alicloud/ros-cdk-core.IResolvable |
Property checkUrl: The validation of the origin. |
originServers |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | OriginServersProperty[] |
Property originServers: The list of origin URLs. |
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. |
sources |
string | @alicloud/ros-cdk-core.IResolvable |
Property sources: The list of origin URLs. |
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. |
cdnTypeRequired
public readonly cdnType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property cdnType: The business type.
Valid values: web, download, video, livestream, and httpsdelivery. web: acceleration of images and small files download. download: acceleration of large file downloads. video: live streaming acceleration. httpsdelivery: SSL acceleration for HTTPS.
domainNameRequired
public readonly domainName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property domainName: The CDN domain name.
Wildcard domain names that start with periods (.) are supported. For example, .a.com.
checkUrlOptional
public readonly checkUrl: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property checkUrl: The validation of the origin.
originServersOptional
public readonly originServers: IResolvable | IResolvable | OriginServersProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | OriginServersProperty[]
Property originServers: The list of origin URLs.
It has the same function as Sources, but has a higher priority than it.
resourceGroupIdOptional
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.
scopeOptional
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.
sourcesOptional
public readonly sources: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property sources: The list of origin URLs.
tagsOptional
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.
topLevelDomainOptional
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.