Skip to content

AclsListenerAssociationProps

Properties for defining a AclsListenerAssociation.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ga-aclslistenerassociation

Initializer

import ros_cdk_ga
ros_cdk_ga.AclsListenerAssociationProps(
  acl_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
  acl_type: typing.Union[str, IResolvable],
  listener_id: typing.Union[str, IResolvable]
)

Properties

Name Type Description
acl_ids typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property aclIds: The ID of the ACL.
acl_type typing.Union[str, ros_cdk_core.IResolvable] Property aclType: The type of ACL.
listener_id typing.Union[str, ros_cdk_core.IResolvable] Property listenerId: The ID of the listener.

acl_idsRequired

acl_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property aclIds: The ID of the ACL.

You can associate up to two ACL IDs.


acl_typeRequired

acl_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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.


listener_idRequired

listener_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property listenerId: The ID of the listener.