SNatEntryProps
Properties for defining a SNatEntry
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-snatentry
Initializer
import ros_cdk_ecs
ros_cdk_ecs.SNatEntryProps(
s_nat_ip: typing.Union[str, IResolvable],
s_nat_table_id: typing.Union[str, IResolvable],
snat_entry_name: typing.Union[str, IResolvable] = None,
source_cidr: typing.Union[str, IResolvable] = None,
source_v_switch_id: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
s_nat_ip |
typing.Union[str, ros_cdk_core.IResolvable] |
Property sNatIp: Source IP, must belongs to bandwidth package internet IP. |
s_nat_table_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property sNatTableId: Create SNAT entry in specified SNAT table. |
snat_entry_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property snatEntryName: he name of the SNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/. |
source_cidr |
typing.Union[str, ros_cdk_core.IResolvable] |
Property sourceCidr: Specifies the network segment of the switch. |
source_v_switch_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property sourceVSwitchId: Allow which switch can access internet. |
s_nat_ip
Required
s_nat_ip: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sNatIp: Source IP, must belongs to bandwidth package internet IP.
s_nat_table_id
Required
s_nat_table_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sNatTableId: Create SNAT entry in specified SNAT table.
snat_entry_name
Optional
snat_entry_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property snatEntryName: he name of the SNAT rule is 2-128 characters long and must start with a letter or Chinese, but cannot begin with HTTP:\/\/ or https:\/\/.
source_cidr
Optional
source_cidr: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sourceCidr: Specifies the network segment of the switch.
For example, 10.0.0.1/24. This parameter and the SourceVSwtichId parameter are mutually exclusive and cannot appear at the same time.
source_v_switch_id
Optional
source_v_switch_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property sourceVSwitchId: Allow which switch can access internet.