Skip to content

PrefixListProps

Properties for defining a PrefixList.

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

Initializer

import ros_cdk_ecs
ros_cdk_ecs.PrefixListProps(
  address_family: typing.Union[str, IResolvable],
  max_entries: typing.Union[typing.Union[int, float], IResolvable],
  prefix_list_name: typing.Union[str, IResolvable],
  description: typing.Union[str, IResolvable] = None,
  entries: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, EntriesProperty]]] = None
)

Properties

Name Type Description
address_family typing.Union[str, ros_cdk_core.IResolvable] Property addressFamily: The IP address family.
max_entries typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property maxEntries: The maximum number of entries that the prefix list can contain.
prefix_list_name typing.Union[str, ros_cdk_core.IResolvable] Property prefixListName: The name of the prefix.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the prefix list.
entries typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, EntriesProperty]]] Property entries:.

address_familyRequired

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

Property addressFamily: The IP address family.

Valid values: IPv4 IPv6


max_entriesRequired

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 that the prefix list can contain.

Valid values: 1 to 200.


prefix_list_nameRequired

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

Property prefixListName: The name of the prefix.

The name must be 2 to 128 characters in length. It must start with a letter and cannot start with http://, https://, com.aliyun, or com.alibabacloud. It can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).


descriptionOptional

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

Property description: The description of the prefix list.

The description must be 2 to 256 characters in length and cannot start with http:// or https://.


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:.