Skip to content

NetworkProps

Properties for defining a Network.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-network

Initializer

import { NetworkProps } from '@alicloud/ros-cdk-ens'
const networkProps: NetworkProps = { ... }

Properties

Name Type Description
cidrBlock string | @alicloud/ros-cdk-core.IResolvable Property cidrBlock: The CIDR block of the network.
ensRegionId string | @alicloud/ros-cdk-core.IResolvable Property ensRegionId: The ID of the edge node.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the network.
networkName string | @alicloud/ros-cdk-core.IResolvable Property networkName: The name of the network.

cidrBlockRequired

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

Property cidrBlock: The CIDR block of the network.

You can use one of the following CIDR blocks or their subnets as the CIDR block of the network: 10.0.0.0\/8 (default) 172.16.0.0\/12 192.168.0.0\/16


ensRegionIdRequired

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

Property ensRegionId: The ID of the edge node.


descriptionOptional

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

Property description: The description of the network.

The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:\/\/ or https:\/\/.


networkNameOptional

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

Property networkName: The name of the network.

The name must meet the following requirements: The name must be 2 to 128 characters in length. The name must start with a letter but cannot start with http:\/\/ or https:\/\/. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).