PortProps
Properties for defining a Port
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ddospro-port
Initializer
import { PortProps } from '@alicloud/ros-cdk-ddospro'
const portProps: PortProps = { ... }
Properties
Name | Type | Description |
---|---|---|
frontendProtocol |
string | @alicloud/ros-cdk-core.IResolvable |
Property frontendProtocol: The type of the protocol. |
instanceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceId: The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs. |
realServers |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property realServers: An array that consists of the IP addresses of origin servers. |
backendPort |
string | @alicloud/ros-cdk-core.IResolvable |
Property backendPort: The port of the origin server. |
frontendPort |
string | @alicloud/ros-cdk-core.IResolvable |
Property frontendPort: The forwarding port. |
frontendProtocol
Required
public readonly frontendProtocol: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property frontendProtocol: The type of the protocol.
Valid values: tcp udp
instanceId
Required
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceId: The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance to which the port forwarding rule belongs.
realServers
Required
public readonly realServers: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property realServers: An array that consists of the IP addresses of origin servers.
backendPort
Optional
public readonly backendPort: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property backendPort: The port of the origin server.
Valid values: 0 to 65535.
frontendPort
Optional
public readonly frontendPort: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property frontendPort: The forwarding port.
Valid values: 0 to 65535.