ListenerAclConfig

data class ListenerAclConfig(val aclRelations: List<ListenerAclConfigAclRelation>? = null, val aclType: String? = null)

Constructors

Link copied to clipboard
constructor(aclRelations: List<ListenerAclConfigAclRelation>? = null, aclType: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The ACLs that are associated with the listener. See acl_relations below for details.

Link copied to clipboard
val aclType: String? = null

The type of the ACL. Valid values: White Or Black. White: specifies the ACL as a whitelist. Only requests from the IP addresses or CIDR blocks in the ACL are forwarded. Whitelists apply to scenarios where only specific IP addresses are allowed to access an application. Risks may occur if the whitelist is improperly set. After you set a whitelist for an Application Load Balancer (ALB) listener, only requests from IP addresses that are added to the whitelist are distributed by the listener. If the whitelist is enabled without IP addresses specified, the ALB listener does not forward requests. Black: All requests from the IP addresses or CIDR blocks in the ACL are denied. The blacklist is used to prevent specified IP addresses from accessing an application. If the blacklist is enabled but the corresponding ACL does not contain IP addresses, the ALB listener forwards all requests.