AccessControlProps
Properties for defining a AccessControl.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apigateway-accesscontrol
Initializer
import ros_cdk_apigateway
ros_cdk_apigateway.AccessControlProps(
access_control_list_name: typing.Union[str, IResolvable],
acl_entrys: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, AclEntrysProperty]]] = None,
address_ip_version: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
access_control_list_name | typing.Union[str, ros_cdk_core.IResolvable] | Property accessControlListName: The name of the ACL. |
acl_entrys | typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, AclEntrysProperty]]] | Property aclEntrys: Information list of access control policies. |
address_ip_version | typing.Union[str, ros_cdk_core.IResolvable] | Property addressIpVersion: The IP version. |
access_control_list_nameRequired
access_control_list_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
acl_entrysOptional
acl_entrys: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, AclEntrysProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[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.
address_ip_versionOptional
address_ip_version: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property addressIpVersion: The IP version.
Valid values: ipv4 and ipv6.