NatIpProps
Properties for defining a NatIp.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-natip
Initializer
import ros_cdk_vpc
ros_cdk_vpc.NatIpProps(
nat_gateway_id: typing.Union[str, IResolvable],
nat_ip_cidr: typing.Union[str, IResolvable],
nat_ip_description: typing.Union[str, IResolvable],
nat_ip_name: typing.Union[str, IResolvable],
ipv4_prefix: typing.Union[str, IResolvable] = None,
ipv4_prefix_count: typing.Union[typing.Union[int, float], IResolvable] = None,
nat_ip: typing.Union[str, IResolvable] = None,
nat_ip_cidr_id: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
nat_gateway_id | typing.Union[str, ros_cdk_core.IResolvable] | Property natGatewayId: The ID of the Virtual Private Cloud (VPC) NAT gateway for which you want to create the NAT IP address. |
nat_ip_cidr | typing.Union[str, ros_cdk_core.IResolvable] | Property natIpCidr: The CIDR block to which the NAT IP address belongs. |
nat_ip_description | typing.Union[str, ros_cdk_core.IResolvable] | Property natIpDescription: The description of the NAT IP address. |
nat_ip_name | typing.Union[str, ros_cdk_core.IResolvable] | Property natIpName: The name of the NAT IP address. |
ipv4_prefix | typing.Union[str, ros_cdk_core.IResolvable] | Property ipv4Prefix: The IPv4 prefix of the IP address range to be created. |
ipv4_prefix_count | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property ipv4PrefixCount: The number of IPv4 prefixes to automatically allocate. |
nat_ip | typing.Union[str, ros_cdk_core.IResolvable] | Property natIp: The NAT IP address that you want to create. |
nat_ip_cidr_id | typing.Union[str, ros_cdk_core.IResolvable] | Property natIpCidrId: The ID of the CIDR block to which the NAT IP address belongs. |
nat_gateway_idRequired
nat_gateway_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property natGatewayId: The ID of the Virtual Private Cloud (VPC) NAT gateway for which you want to create the NAT IP address.
nat_ip_cidrRequired
nat_ip_cidr: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property natIpCidr: The CIDR block to which the NAT IP address belongs.
nat_ip_descriptionRequired
nat_ip_description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property natIpDescription: The description of the NAT IP address.
The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.
nat_ip_nameRequired
nat_ip_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property natIpName: The name of the NAT IP address.
The name must be 2 to 128 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter. It cannot start with http:// or https://.
ipv4_prefixOptional
ipv4_prefix: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ipv4Prefix: The IPv4 prefix of the IP address range to be created.
The IPv4 prefix must be within the reserved CIDR block of the switch where the NAT gateway is deployed, and the reserved CIDR block must not be occupied. The prefix length must be /28.
ipv4_prefix_countOptional
ipv4_prefix_count: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property ipv4PrefixCount: The number of IPv4 prefixes to automatically allocate.
Randomly allocated from the unassigned reserved CIDR blocks of the switch where the NAT gateway is deployed. Valid values: 1 to 10.
nat_ipOptional
nat_ip: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property natIp: The NAT IP address that you want to create.
If you do not specify an IP address, the system selects a random IP address from the specified CIDR block.
nat_ip_cidr_idOptional
nat_ip_cidr_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property natIpCidrId: The ID of the CIDR block to which the NAT IP address belongs.