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. |
externalIp
Required
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.
externalPort
Required
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.
forwardTableId
Required
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.
internalIp
Required
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.
internalPort
Required
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.
ipProtocol
Required
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'.
forwardEntryName
Optional
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:\/\/.
portBreak
Optional
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.