AclsListenerAssociationProps
Properties for defining a AclsListenerAssociation
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ga-aclslistenerassociation
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkga"
&alicloudroscdkga.AclsListenerAssociationProps {
AclIds: interface{},
AclType: interface{},
ListenerId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
AclIds |
interface{} |
Property aclIds: The ID of the ACL. |
AclType |
interface{} |
Property aclType: The type of ACL. |
ListenerId |
interface{} |
Property listenerId: The ID of the listener. |
AclIds
Required
AclIds interface{}
- Type: interface{}
Property aclIds: The ID of the ACL.
You can associate up to two ACL IDs.
AclType
Required
AclType interface{}
- Type: interface{}
Property aclType: The type of ACL.
Valid values:white: a whitelist. Only requests from the IP addresses or CIDR blocks in the ACL are forwarded. Whitelists apply to scenarios in which you want to allow only specific IP addresses to access an application. Your service may be adversely affected if the whitelist is not properly configured. After you configure a whitelist for a listener, only requests from the IP addresses that are added to the whitelist are forwarded by the listener. If the whitelist is enabled but no IP addresses are added to it, the listener does not forward requests. black: a blacklist. All requests from the IP addresses or CIDR blocks in the ACL are denied. Blacklists apply to scenarios in which you want to deny access from specific IP addresses to an application. If the blacklist is enabled but no IP addresses are added to it, the listener forwards all requests.
ListenerId
Required
ListenerId interface{}
- Type: interface{}
Property listenerId: The ID of the listener.