Skip to content

ForwardEntryProps

Properties for defining a ForwardEntry.

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

Initializer

import com.aliyun.ros.cdk.ecs.ForwardEntryProps;
ForwardEntryProps.builder()
    .externalIp(java.lang.String)
    .externalIp(IResolvable)
    .externalPort(java.lang.String)
    .externalPort(IResolvable)
    .forwardTableId(java.lang.String)
    .forwardTableId(IResolvable)
    .internalIp(java.lang.String)
    .internalIp(IResolvable)
    .internalPort(java.lang.String)
    .internalPort(IResolvable)
    .ipProtocol(java.lang.String)
    .ipProtocol(IResolvable)
//  .forwardEntryName(java.lang.String)
//  .forwardEntryName(IResolvable)
//  .portBreak(java.lang.Boolean)
//  .portBreak(IResolvable)
    .build();

Properties

Name Type Description
externalIp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property externalIp: Source IP, must belongs to bandwidth package internet IP.
externalPort java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property externalPort: Source port, now support [1-65535]|Any|x\/y.
forwardTableId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property forwardTableId: Create forward entry in specified forward table.
internalIp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property internalIp: Destination IP, must belong to VPC private IP.
internalPort java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property internalPort: Destination port, now support [1-65535]|Any|x\/y.
ipProtocol java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ipProtocol: Supported protocol, Now support 'TCP|UDP|Any'.
forwardEntryName java.lang.String OR com.aliyun.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:\/\/.
portBreak java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property portBreak: Specifies whether to remove limits on the port range.

externalIpRequired

public java.lang.Object getExternalIp();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


externalPortRequired

public java.lang.Object getExternalPort();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


forwardTableIdRequired

public java.lang.Object getForwardTableId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property forwardTableId: Create forward entry in specified forward table.


internalIpRequired

public java.lang.Object getInternalIp();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


internalPortRequired

public java.lang.Object getInternalPort();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


ipProtocolRequired

public java.lang.Object getIpProtocol();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


forwardEntryNameOptional

public java.lang.Object getForwardEntryName();
  • Type: java.lang.String OR com.aliyun.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:\/\/.


portBreakOptional

public java.lang.Object getPortBreak();
  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

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