AccessControlProps
Properties for defining a AccessControl.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apigateway-accesscontrol
Initializer
import com.aliyun.ros.cdk.apigateway.AccessControlProps;
AccessControlProps.builder()
.accessControlListName(java.lang.String)
.accessControlListName(IResolvable)
// .aclEntrys(IResolvable)
// .aclEntrys(java.util.List<IResolvable)
// .aclEntrys(AclEntrysProperty>)
// .addressIpVersion(java.lang.String)
// .addressIpVersion(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
accessControlListName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property accessControlListName: The name of the ACL. |
aclEntrys | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property aclEntrys: Information list of access control policies. |
addressIpVersion | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property addressIpVersion: The IP version. |
accessControlListNameRequired
public java.lang.Object getAccessControlListName();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getAclEntrys();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
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 java.lang.Object getAddressIpVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property addressIpVersion: The IP version.
Valid values: ipv4 and ipv6.