Skip to content

ProInstanceProps

Properties for defining a ProInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ddospro-proinstance

Initializer

import { ProInstanceProps } from '@alicloud/ros-cdk-ddospro'
const proInstanceProps: ProInstanceProps = { ... }

Properties

Name Type Description
addressType string | @alicloud/ros-cdk-core.IResolvable Property addressType: The IP version of the IP address.
bandwidth number | @alicloud/ros-cdk-core.IResolvable Property bandwidth: The burstable protection bandwidth.
baseBandwidth number | @alicloud/ros-cdk-core.IResolvable Property baseBandwidth: The basic protection bandwidth.
burstBandwidthMode string | @alicloud/ros-cdk-core.IResolvable Property burstBandwidthMode: The metering method of the 95th percentile burstable clean bandwidth.
domainCount number | @alicloud/ros-cdk-core.IResolvable Property domainCount: The number of domain names that you want to protect.
edition string | @alicloud/ros-cdk-core.IResolvable Property edition: The mitigation plan of the instance.
functionVersion string | @alicloud/ros-cdk-core.IResolvable Property functionVersion: The function plan of the instance.
normalQps number | @alicloud/ros-cdk-core.IResolvable Property normalQps: The clean queries per second (QPS) provided by the instance.
period number | @alicloud/ros-cdk-core.IResolvable Property period: The subscription period of the firewallIf PeriodUnit is Month, the valid range is 1, 2, 3, 4, 5, 6, 12, 24 If PeriodUnit is Year, the valid range is 1, 2.
periodUnit string | @alicloud/ros-cdk-core.IResolvable Property periodUnit: The unit of the subscription duration.
portCount number | @alicloud/ros-cdk-core.IResolvable Property portCount: The number of ports that you want to protect.
serviceBandwidth number | @alicloud/ros-cdk-core.IResolvable Property serviceBandwidth: The clean bandwidth provided by the instance.
servicePartner string | @alicloud/ros-cdk-core.IResolvable Property servicePartner: The type of the protection line.
tags TagsProperty[] Property tags: Tags to attach to instance.

addressTypeOptional

public readonly addressType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property addressType: The IP version of the IP address.

Valid values: Ipv4、Ipv6


bandwidthOptional

public readonly bandwidth: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property bandwidth: The burstable protection bandwidth.

Unit: Gbit\/s. The burstable protection bandwidth must be greater than or equal to the basic protection bandwidth. The value of Bandwidth varies based on the value of BaseBandwidth.


baseBandwidthOptional

public readonly baseBandwidth: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property baseBandwidth: The basic protection bandwidth.

Unit: Gbit\/s. Valid values: 30, 60, 100, 300, 400, 500, and 600.


burstBandwidthModeOptional

public readonly burstBandwidthMode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property burstBandwidthMode: The metering method of the 95th percentile burstable clean bandwidth.

Valid values: 0: disables the burstable clean bandwidth feature. 1: enables the burstable clean bandwidth feature and uses the daily 95th percentile metering method. 2: enables the burstable clean bandwidth feature and uses the monthly 95th percentile metering method.


domainCountOptional

public readonly domainCount: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property domainCount: The number of domain names that you want to protect.

Valid values: 50 to 2000. The value must be a multiple of 10.


editionOptional

public readonly edition: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property edition: The mitigation plan of the instance.

Set the value to coop, which indicates the Profession mitigation plan.


functionVersionOptional

public readonly functionVersion: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property functionVersion: The function plan of the instance.

Valid values: 0: the Standard function plan 1: the Enhanced function plan.


normalQpsOptional

public readonly normalQps: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property normalQps: The clean queries per second (QPS) provided by the instance.

Valid values: 3000 to 100000. The value must be a multiple of 100.


periodOptional

public readonly period: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property period: The subscription period of the firewallIf PeriodUnit is Month, the valid range is 1, 2, 3, 4, 5, 6, 12, 24 If PeriodUnit is Year, the valid range is 1, 2.


periodUnitOptional

public readonly periodUnit: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property periodUnit: The unit of the subscription duration.

Valid values: Month Year Default value: Month.


portCountOptional

public readonly portCount: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property portCount: The number of ports that you want to protect.

Valid values: 50 to 400. The value must be a multiple of 5.


serviceBandwidthOptional

public readonly serviceBandwidth: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property serviceBandwidth: The clean bandwidth provided by the instance.

Unit: Mbit\/s. Valid values: 100 to 5000. The value must be a multiple of 50.


servicePartnerOptional

public readonly servicePartner: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property servicePartner: The type of the protection line.

Set the value to coop-line-001, which indicates the default protection line.


tagsOptional

public readonly tags: 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.