Skip to content

CustomerGatewayProps

Properties for defining a CustomerGateway.

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

Initializer

import { CustomerGatewayProps } from '@alicloud/ros-cdk-vpc'
const customerGatewayProps: CustomerGatewayProps = { ... }

Properties

Name Type Description
ipAddress string | @alicloud/ros-cdk-core.IResolvable Property ipAddress: The IP address of the user gateway.
asn number | @alicloud/ros-cdk-core.IResolvable Property asn: The autonomous system number of the local data center gateway device.
description string | @alicloud/ros-cdk-core.IResolvable Property description: Description of the user gateway.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the user gateway.

ipAddressRequired

public readonly ipAddress: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property ipAddress: The IP address of the user gateway.


asnOptional

public readonly asn: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

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


descriptionOptional

public readonly description: string | IResolvable;
  • Type: string | @alicloud/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

public readonly name: string | IResolvable;
  • Type: string | @alicloud/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:\/\/.