Skip to content

CustomerGatewayProps

Properties for defining a CustomerGateway.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-customergateway

Initializer

import ros_cdk_vpc
ros_cdk_vpc.CustomerGatewayProps(
  ip_address: typing.Union[str, IResolvable],
  asn: typing.Union[typing.Union[int, float], IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  name: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
ip_address typing.Union[str, ros_cdk_core.IResolvable] Property ipAddress: The IP address of the user gateway.
asn typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property asn: The autonomous system number of the local data center gateway device.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: Description of the user gateway.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the user gateway.

ip_addressRequired

ip_address: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property ipAddress: The IP address of the user gateway.


asnOptional

asn: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property asn: The autonomous system number of the local data center gateway device.


descriptionOptional

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property description: Description of the user gateway.

The length is 2-256 characters and must start with a letter or Chinese, but cannot start with http:// or https://.


nameOptional

name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property name: The name of the user gateway.

The length is 2-128 characters and must start with a letter or Chinese. It can contain numbers, periods (.), underscores (_), and dashes (-). But it can't start with http:// or https://.