NetworkProps
Properties for defining a Network
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-network
Initializer
import ros_cdk_ens
ros_cdk_ens.NetworkProps(
cidr_block: typing.Union[str, IResolvable],
ens_region_id: typing.Union[str, IResolvable],
description: typing.Union[str, IResolvable] = None,
network_name: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
cidr_block |
typing.Union[str, ros_cdk_core.IResolvable] |
Property cidrBlock: The CIDR block of the network. |
ens_region_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property ensRegionId: The ID of the edge node. |
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: The description of the network. |
network_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property networkName: The name of the network. |
cidr_block
Required
cidr_block: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
ens_region_id
Required
ens_region_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ensRegionId: The ID of the edge node.
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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://.
network_name
Optional
network_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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 (-).