AclsListenerAssociationProps
Properties for defining a AclsListenerAssociation
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ga-aclslistenerassociation
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ga;
new AclsListenerAssociationProps {
object AclIds,
object AclType,
object ListenerId
};
Properties
Name | Type | Description |
---|---|---|
AclIds |
object |
Property aclIds: The ID of the ACL. |
AclType |
object |
Property aclType: The type of ACL. |
ListenerId |
object |
Property listenerId: The ID of the listener. |
AclIds
Required
public object AclIds { get; set; }
- Type: object
Property aclIds: The ID of the ACL.
You can associate up to two ACL IDs.
AclType
Required
public object AclType { get; set; }
- Type: object
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
public object ListenerId { get; set; }
- Type: object
Property listenerId: The ID of the listener.