Skip to content

AccessControlProps

Properties for defining a AccessControl.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkapigateway"
&alicloudroscdkapigateway.AccessControlProps {
    AccessControlListName: interface{},
    AclEntrys: interface{},
    AddressIpVersion: interface{},
}

Properties

Name Type Description
AccessControlListName interface{} Property accessControlListName: The name of the ACL.
AclEntrys interface{} Property aclEntrys: Information list of access control policies.
AddressIpVersion interface{} Property addressIpVersion: The IP version.

AccessControlListNameRequired

AccessControlListName interface{}
  • Type: interface{}

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

AclEntrys interface{}
  • Type: interface{}

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

AddressIpVersion interface{}
  • Type: interface{}

Property addressIpVersion: The IP version.

Valid values: ipv4 and ipv6.