Skip to content

PrefixListProps

Properties for defining a PrefixList.

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

Initializer

import ros_cdk_vpc
ros_cdk_vpc.PrefixListProps(
  entries: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, EntriesProperty]]] = None,
  ip_version: typing.Union[str, IResolvable] = None,
  max_entries: typing.Union[typing.Union[int, float], IResolvable] = None,
  prefix_list_description: typing.Union[str, IResolvable] = None,
  prefix_list_name: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
entries typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, EntriesProperty]]] Property entries: The CIDR address block list of the prefix list.
ip_version typing.Union[str, ros_cdk_core.IResolvable] Property ipVersion: The IP version of the prefix list.
max_entries typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property maxEntries: The maximum number of entries for CIDR address blocks in the prefix list.
prefix_list_description typing.Union[str, ros_cdk_core.IResolvable] Property prefixListDescription: The description of the prefix list.
prefix_list_name typing.Union[str, ros_cdk_core.IResolvable] Property prefixListName: The name of the prefix list.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group to which the VPC belongs.
tags typing.List[TagsProperty] Property tags: Tags of prefix list.

entriesOptional

entries: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, EntriesProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, EntriesProperty]]]

Property entries: The CIDR address block list of the prefix list.


ip_versionOptional

ip_version: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property ipVersion: The IP version of the prefix list.

Value:

  • IPvv4:IPv4 version.
  • IPv6:IPv6.

max_entriesOptional

max_entries: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property maxEntries: The maximum number of entries for CIDR address blocks in the prefix list.


prefix_list_descriptionOptional

prefix_list_description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property prefixListDescription: The description of the prefix list.

It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with http:// or https.


prefix_list_nameOptional

prefix_list_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property prefixListName: The name of the prefix list.


resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceGroupId: The ID of the resource group to which the VPC belongs.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: Tags of prefix list.