Skip to content

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],
  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.
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://.


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.