OriginInstanceProps
Properties for defining a OriginInstance
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ddos-origininstance
Initializer
import { OriginInstanceProps } from '@alicloud/ros-cdk-ddos'
const originInstanceProps: OriginInstanceProps = { ... }
Properties
Name | Type | Description |
---|---|---|
edition |
string | @alicloud/ros-cdk-core.IResolvable |
Property edition: Edition of the instance. |
protectionMode |
string | @alicloud/ros-cdk-core.IResolvable |
Property protectionMode: The mode of the protection. |
chargeType |
string | @alicloud/ros-cdk-core.IResolvable |
Property chargeType: The charge type of the instance. |
cleanBandwidth |
number | @alicloud/ros-cdk-core.IResolvable |
Property cleanBandwidth: The mitigation capability of Anti-DDoS is measured by the inbound or outbound clean bandwidth. |
enableLog |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property enableLog: Whether to enable protection logs. |
ipAddresses |
number | @alicloud/ros-cdk-core.IResolvable |
Property ipAddresses: The number of ip addresses. |
networkProtocol |
string | @alicloud/ros-cdk-core.IResolvable |
Property networkProtocol: The network protocol of the instance. |
period |
number | @alicloud/ros-cdk-core.IResolvable |
Property period: The period of the instance. |
periodUnit |
string | @alicloud/ros-cdk-core.IResolvable |
Property periodUnit: The period unit of the instance. |
tags |
TagsProperty[] |
Property tags: Tags to attach to instance. |
edition
Required
public readonly edition: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property edition: Edition of the instance.
Valid values: - enterprise: Enterprise Edition. - smb: Affordable and general edition for small and medium-sized enterprises.
protectionMode
Required
public readonly protectionMode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property protectionMode: The mode of the protection.
Valid values: unlimited: The Unlimited protection mode is intended for internal use within enterprises.
chargeType
Optional
public readonly chargeType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property chargeType: The charge type of the instance.
Valid values: PostPaid: Pay-as-you-go. PrePaid: Subscription.
cleanBandwidth
Optional
public readonly cleanBandwidth: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property cleanBandwidth: The mitigation capability of Anti-DDoS is measured by the inbound or outbound clean bandwidth.
When Edition is enterprise, CleanBandwidth ranges from 100 to 1000 Mbit\/s.When Edition is smb, CleanBandwidth ranges from 50 to 1000 Mbit\/s.
enableLog
Optional
public readonly enableLog: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property enableLog: Whether to enable protection logs.
ipAddresses
Optional
public readonly ipAddresses: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property ipAddresses: The number of ip addresses.
When Edition is smb, IP Addresses ranges from 1 to 29. When Edition is enterprise, The minimum number of IP Addresses is 30.
networkProtocol
Optional
public readonly networkProtocol: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property networkProtocol: The network protocol of the instance.
Valid values: v4: IPv4. v6: IPv6. v4_6: IPv4+IPv6.
period
Optional
public readonly period: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property period: The period of the instance.
periodUnit
Optional
public readonly periodUnit: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property periodUnit: The period unit of the instance.
Valid values: Month: Month. Year: Year.
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.