VPCProps
Properties for defining a VPC.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vpc
Initializer
import { VPCProps } from '@alicloud/ros-cdk-ecs'
const vPCProps: VPCProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
cidrBlock |
string | @alicloud/ros-cdk-core.IResolvable |
Property cidrBlock: The IP address range of the VPC in the CIDR block form. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: Description of the vpc, [2, 256] characters. |
enableIpv6 |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property enableIpv6: Whether to enable an IPv6 network cidr, the value is:False (default): not turned on.True: On. |
ipv6CidrBlock |
string | @alicloud/ros-cdk-core.IResolvable |
Property ipv6CidrBlock: IPv6 network cidr of the VPC. |
ipv6Isp |
string | @alicloud/ros-cdk-core.IResolvable |
Property ipv6Isp: The Internet service provider (ISP) for IPv6 addresses of the VPC. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: Resource group id. |
secondaryCidrBlocks |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property secondaryCidrBlocks: The secondary IPv4 CIDR blocks. |
tags |
TagsProperty[] |
Property tags: Tags to attach to vpc. |
userCidr |
string | @alicloud/ros-cdk-core.IResolvable |
Property userCidr: The user CIDR block. |
vpcName |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcName: Display name of the vpc instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'. |
cidrBlockOptional
public readonly cidrBlock: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property cidrBlock: The IP address range of the VPC in the CIDR block form.
You can use the following IP address ranges and their subnets: 10.0.0.0\/8 172.16.0.0\/12 (Default) 192.168.0.0\/16
descriptionOptional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: Description of the vpc, [2, 256] characters.
Do not fill or empty, the default is empty.
enableIpv6Optional
public readonly enableIpv6: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property enableIpv6: Whether to enable an IPv6 network cidr, the value is:False (default): not turned on.True: On.
ipv6CidrBlockOptional
public readonly ipv6CidrBlock: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ipv6CidrBlock: IPv6 network cidr of the VPC.
ipv6IspOptional
public readonly ipv6Isp: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ipv6Isp: The Internet service provider (ISP) for IPv6 addresses of the VPC.
Valid values: BGP(default): Alibaba Cloud BGP IPv6 ChinaMobile: China Mobile (single line) ChinaUnicom: China Unicom (single line) ChinaTelecom: China Telecom (single line) Note If your Alibaba Cloud account is allowed to activate single-ISP bandwidth, you can set the parameter to ChinaTelecom, ChinaUnicom, and ChinaMobile.
resourceGroupIdOptional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: Resource group id.
secondaryCidrBlocksOptional
public readonly secondaryCidrBlocks: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property secondaryCidrBlocks: The secondary IPv4 CIDR blocks.
tagsOptional
public readonly tags: TagsProperty[];
- Type: TagsProperty[]
Property tags: Tags to attach to vpc.
Max support 20 tags to add during create vpc. Each tag with two properties Key and Value, and Key is required.
userCidrOptional
public readonly userCidr: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property userCidr: The user CIDR block.
Separate multiple CIDR blocks with commas (,). At most three CIDR blocks are supported.
vpcNameOptional
public readonly vpcName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcName: Display name of the vpc instance, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'.