Skip to content

ForwardEntryProps

Properties for defining a ForwardEntry.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-forwardentry

Initializer

import ros_cdk_vpc
ros_cdk_vpc.ForwardEntryProps(
  external_ip: typing.Union[str, IResolvable],
  external_port: typing.Union[str, IResolvable],
  forward_table_id: typing.Union[str, IResolvable],
  internal_ip: typing.Union[str, IResolvable],
  internal_port: typing.Union[str, IResolvable],
  ip_protocol: typing.Union[str, IResolvable],
  forward_entry_name: typing.Union[str, IResolvable] = None,
  port_break: typing.Union[bool, IResolvable] = None
)

Properties

Name Type Description
external_ip typing.Union[str, ros_cdk_core.IResolvable] Property externalIp: Source IP, must belongs to bandwidth package internet IP.
external_port typing.Union[str, ros_cdk_core.IResolvable] Property externalPort: Source port, now support [1-65535]|Any|x\/y.
forward_table_id typing.Union[str, ros_cdk_core.IResolvable] Property forwardTableId: Create forward entry in specified forward table.
internal_ip typing.Union[str, ros_cdk_core.IResolvable] Property internalIp: Destination IP, must belong to VPC private IP.
internal_port typing.Union[str, ros_cdk_core.IResolvable] Property internalPort: Destination port, now support [1-65535]|Any|x\/y.
ip_protocol typing.Union[str, ros_cdk_core.IResolvable] Property ipProtocol: Supported protocol, Now support 'TCP|UDP|Any'.
forward_entry_name typing.Union[str, ros_cdk_core.IResolvable] Property forwardEntryName: the name of the DNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.
port_break typing.Union[bool, ros_cdk_core.IResolvable] Property portBreak: Specifies whether to remove limits on the port range.

external_ipRequired

external_ip: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property externalIp: Source IP, must belongs to bandwidth package internet IP.


external_portRequired

external_port: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property externalPort: Source port, now support [1-65535]|Any|x\/y.


forward_table_idRequired

forward_table_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property forwardTableId: Create forward entry in specified forward table.


internal_ipRequired

internal_ip: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property internalIp: Destination IP, must belong to VPC private IP.


internal_portRequired

internal_port: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property internalPort: Destination port, now support [1-65535]|Any|x\/y.


ip_protocolRequired

ip_protocol: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property ipProtocol: Supported protocol, Now support 'TCP|UDP|Any'.


forward_entry_nameOptional

forward_entry_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property forwardEntryName: the name of the DNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.


port_breakOptional

port_break: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property portBreak: Specifies whether to remove limits on the port range.