ALIYUN::VPC::ForwardEntry is used to add a DNAT entry to a DNAT table.
Syntax
{
"Type": "ALIYUN::VPC::ForwardEntry",
"Properties": {
"ExternalPort": String,
"ExternalIp": String,
"IpProtocol": String,
"PortBreak": Boolean,
"InternalPort": String,
"ForwardEntryName": String,
"InternalIp": String,
"ForwardTableId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
ExternalPort | String | Yes | No | The external port or port range. |
|
ExternalIp | String | Yes | No | The IP address. |
|
IpProtocol | String | Yes | No | The protocol type. | Valid values:
|
PortBreak | Boolean | No | No | Specifies whether to remove limits on the port range. | Valid values:
Note If an SNAT entry and a DNAT entry use the same public IP address and you want to specify a port number greater than 1024, you must set PortBreak to true. |
InternalPort | String | Yes | No | The internal port or port range. |
|
ForwardEntryName | String | No | No | The name of the DNAT entry. | None. |
InternalIp | String | Yes | No | The private IP address. |
|
ForwardTableId | String | Yes | No | The ID of the DNAT table. | None. |
Return values
Fn::GetAtt
ForwardEntryId: the ID of the DNAT entry.