InstanceProps
Properties for defining a Instance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-instance
Initializer
import { InstanceProps } from '@alicloud/ros-cdk-dns'
const instanceProps: InstanceProps = { ... }
Properties
Name | Type | Description |
---|---|---|
dnsSecurity |
string | @alicloud/ros-cdk-core.IResolvable |
Property dnsSecurity: The DNS security policy. |
domainNumbers |
number | @alicloud/ros-cdk-core.IResolvable |
Property domainNumbers: The number of domain names. |
period |
number | @alicloud/ros-cdk-core.IResolvable |
Property period: The subscription duration. |
periodUnit |
string | @alicloud/ros-cdk-core.IResolvable |
Property periodUnit: The subscription duration unit. |
version |
string | @alicloud/ros-cdk-core.IResolvable |
Property version: The edition of Alibaba Cloud DNS. |
domain |
string | @alicloud/ros-cdk-core.IResolvable |
Property domain: The domain name that you want to bind to the instance. |
instanceType |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceType: The type of the instance. |
renewalStatus |
string | @alicloud/ros-cdk-core.IResolvable |
Property renewalStatus: The renewal method. |
dnsSecurity
Required
public readonly dnsSecurity: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dnsSecurity: The DNS security policy.
Valid values: - no: No protection against DNS attacks is provided. - basic: Basic protection against DNS attacks is provided. - advanced: Advanced protection against DNS attacks is provided.
domainNumbers
Required
public readonly domainNumbers: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property domainNumbers: The number of domain names.
period
Required
public readonly period: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property period: The subscription duration.
Valid values: - If unit is month: 1, 2, 3, 6 - If unit is year: 1, 2
periodUnit
Required
public readonly periodUnit: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property periodUnit: The subscription duration unit.
version
Required
public readonly version: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property version: The edition of Alibaba Cloud DNS.
Valid values: If create hosted public zone: - version_personal: Personal Edition. - version_enterprise_basic: Enterprise Standard Edition. - version_enterprise_advanced: Enterprise Ultimate Edition. If create cached public zone: - version_cached_basicNote: Only upgrade operations are supported after instance creation.
domain
Optional
public readonly domain: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property domain: The domain name that you want to bind to the instance.
If you want to bind multiple domain names to the instance, separate these domain names with commas (,).
instanceType
Optional
public readonly instanceType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceType: The type of the instance.
Valid values: - HostedPublicZone: Hosted Public Zone - CachedPublicZone: Cached Public Zone.
renewalStatus
Optional
public readonly renewalStatus: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property renewalStatus: The renewal method.
Valid values: - AutoRenewal: The instance is automatically renewed. - ManualRenewal: The instance is manually renewed. Default value: ManualRenewal.