Skip to content

AclProps

Properties for defining a Acl.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rocketmq5-acl

Initializer

import ros_cdk_rocketmq5
ros_cdk_rocketmq5.AclProps(
  actions: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
  decision: typing.Union[str, IResolvable],
  instance_id: typing.Union[str, IResolvable],
  resource_name: typing.Union[str, IResolvable],
  resource_type: typing.Union[str, IResolvable],
  username: typing.Union[str, IResolvable],
  ip_whitelists: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None
)

Properties

Name Type Description
actions typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property actions: The type of operation authorized.
decision typing.Union[str, ros_cdk_core.IResolvable] Property decision: The decision result of the authorization.
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: The ID of the RocketMQ instance.
resource_name typing.Union[str, ros_cdk_core.IResolvable] Property resourceName: The name of the resource on which you want to grant permissions.
resource_type typing.Union[str, ros_cdk_core.IResolvable] Property resourceType: The type of the resource on which you want to grant permissions.
username typing.Union[str, ros_cdk_core.IResolvable] Property username: The username of the account.
ip_whitelists typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property ipWhitelists: The IP addresses in the whitelist.

actionsRequired

actions: 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 actions: The type of operation authorized.


decisionRequired

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

Property decision: The decision result of the authorization.

Valid values:

  • Deny: Access is denied.
  • Allow: Allow access.

instance_idRequired

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

Property instanceId: The ID of the RocketMQ instance.


resource_nameRequired

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

Property resourceName: The name of the resource on which you want to grant permissions.


resource_typeRequired

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

Property resourceType: The type of the resource on which you want to grant permissions.

Valid values:

  • Group: consumer Group.
  • Topic: Topic.

usernameRequired

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

Property username: The username of the account.


ip_whitelistsOptional

ip_whitelists: 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 ipWhitelists: The IP addresses in the whitelist.