VPCProps
Properties for defining a VPC
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-vpc
Initializer
import ros_cdk_ecs
ros_cdk_ecs.VPCProps(
cidr_block: typing.Union[str, IResolvable] = None,
description: typing.Union[str, IResolvable] = None,
enable_ipv6: typing.Union[bool, IResolvable] = None,
ipv6_cidr_block: typing.Union[str, IResolvable] = None,
ipv6_isp: typing.Union[str, IResolvable] = None,
resource_group_id: typing.Union[str, IResolvable] = None,
secondary_cidr_blocks: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
tags: typing.List[TagsProperty] = None,
user_cidr: typing.Union[str, IResolvable] = None,
vpc_name: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
cidr_block |
typing.Union[str, ros_cdk_core.IResolvable] |
Property cidrBlock: The IP address range of the VPC in the CIDR block form. |
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: Description of the vpc, [2, 256] characters. |
enable_ipv6 |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property enableIpv6: Whether to enable an IPv6 network cidr, the value is:False (default): not turned on.True: On. |
ipv6_cidr_block |
typing.Union[str, ros_cdk_core.IResolvable] |
Property ipv6CidrBlock: IPv6 network cidr of the VPC. |
ipv6_isp |
typing.Union[str, ros_cdk_core.IResolvable] |
Property ipv6Isp: The Internet service provider (ISP) for IPv6 addresses of the VPC. |
resource_group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property resourceGroupId: Resource group id. |
secondary_cidr_blocks |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property secondaryCidrBlocks: The secondary IPv4 CIDR blocks. |
tags |
typing.List[TagsProperty] |
Property tags: Tags to attach to vpc. |
user_cidr |
typing.Union[str, ros_cdk_core.IResolvable] |
Property userCidr: The user CIDR block. |
vpc_name |
typing.Union[str, 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 '.', '-'. |
cidr_block
Optional
cidr_block: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: Description of the vpc, [2, 256] characters.
Do not fill or empty, the default is empty.
enable_ipv6
Optional
enable_ipv6: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property enableIpv6: Whether to enable an IPv6 network cidr, the value is:False (default): not turned on.True: On.
ipv6_cidr_block
Optional
ipv6_cidr_block: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property ipv6CidrBlock: IPv6 network cidr of the VPC.
ipv6_isp
Optional
ipv6_isp: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
resource_group_id
Optional
resource_group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: Resource group id.
secondary_cidr_blocks
Optional
secondary_cidr_blocks: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property secondaryCidrBlocks: The secondary IPv4 CIDR blocks.
tags
Optional
tags: typing.List[TagsProperty]
- Type: typing.List[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.
user_cidr
Optional
user_cidr: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property userCidr: The user CIDR block.
Separate multiple CIDR blocks with commas (,). At most three CIDR blocks are supported.
vpc_name
Optional
vpc_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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 '.', '-'.