Skip to content

PrefixListProps

Properties for defining a PrefixList.

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

Initializer

import { PrefixListProps } from '@alicloud/ros-cdk-ecs'
const prefixListProps: PrefixListProps = { ... }

Properties

Name Type Description
addressFamily string | @alicloud/ros-cdk-core.IResolvable Property addressFamily: The IP address family.
maxEntries number | @alicloud/ros-cdk-core.IResolvable Property maxEntries: The maximum number of entries that the prefix list can contain.
prefixListName string | @alicloud/ros-cdk-core.IResolvable Property prefixListName: The name of the prefix.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the prefix list.
entries @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | EntriesProperty[] Property entries:.

addressFamilyRequired

public readonly addressFamily: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property addressFamily: The IP address family.

Valid values: IPv4 IPv6


maxEntriesRequired

public readonly maxEntries: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property maxEntries: The maximum number of entries that the prefix list can contain.

Valid values: 1 to 200.


prefixListNameRequired

public readonly prefixListName: string | IResolvable;
  • Type: string | @alicloud/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

public readonly description: string | IResolvable;
  • Type: string | @alicloud/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

public readonly entries: IResolvable | IResolvable | EntriesProperty[];
  • Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | EntriesProperty[]

Property entries:.