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,
resource_group_id: 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. |
resource_group_id | typing.Union[str, ros_cdk_core.IResolvable] | Property resourceGroupId: The ID of the resource group to which the user gateway belongs. |
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://.
resource_group_idOptional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: The ID of the resource group to which the user gateway belongs.
- You can call the ListResourceGroups interface to query the resource group ID.
- If you do not specify a resource group, the user gateway will belong to the default resource group after creation.