Skip to content

AccessControlProps

Properties for defining a AccessControl.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apigateway-accesscontrol

Initializer

import { AccessControlProps } from '@alicloud/ros-cdk-apigateway'
const accessControlProps: AccessControlProps = { ... }

Properties

Name Type Description
accessControlListName string | @alicloud/ros-cdk-core.IResolvable Property accessControlListName: The name of the ACL.
aclEntrys @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | AclEntrysProperty[] Property aclEntrys: Information list of access control policies.
addressIpVersion string | @alicloud/ros-cdk-core.IResolvable Property addressIpVersion: The IP version.

accessControlListNameRequired

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

Property accessControlListName: The name of the ACL.

The name must be 1 to 30 characters in length, and can contain letters, digits, periods (.), hyphens (-), forward slashes (\/), and underscores (_). The name must be unique within the region.


aclEntrysOptional

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

Property aclEntrys: Information list of access control policies.

You can add at most 50 IP addresses or CIDR blocks to an ACL in each call. If the IP address or CIDR block that you want to add to an ACL already exists, the IP address or CIDR block is not added. The entries that you add must be CIDR blocks.


addressIpVersionOptional

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

Property addressIpVersion: The IP version.

Valid values: ipv4 and ipv6.