SNatEntryProps
Properties for defining a SNatEntry.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-snatentry
Initializer
import { SNatEntryProps } from '@alicloud/ros-cdk-ecs'
const sNatEntryProps: SNatEntryProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
sNatIp |
string | @alicloud/ros-cdk-core.IResolvable |
Property sNatIp: Source IP, must belongs to bandwidth package internet IP. |
sNatTableId |
string | @alicloud/ros-cdk-core.IResolvable |
Property sNatTableId: Create SNAT entry in specified SNAT table. |
snatEntryName |
string | @alicloud/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:\/\/. |
sourceCidr |
string | @alicloud/ros-cdk-core.IResolvable |
Property sourceCidr: Specifies the network segment of the switch. |
sourceVSwitchId |
string | @alicloud/ros-cdk-core.IResolvable |
Property sourceVSwitchId: Allow which switch can access internet. |
sNatIpRequired
public readonly sNatIp: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property sNatIp: Source IP, must belongs to bandwidth package internet IP.
sNatTableIdRequired
public readonly sNatTableId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property sNatTableId: Create SNAT entry in specified SNAT table.
snatEntryNameOptional
public readonly snatEntryName: string | IResolvable;
- Type: string | @alicloud/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:\/\/.
sourceCidrOptional
public readonly sourceCidr: string | IResolvable;
- Type: string | @alicloud/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.
sourceVSwitchIdOptional
public readonly sourceVSwitchId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property sourceVSwitchId: Allow which switch can access internet.