Skip to content

AclProps

Properties for defining a Acl.

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

Initializer

import { AclProps } from '@alicloud/ros-cdk-rocketmq5'
const aclProps: AclProps = { ... }

Properties

Name Type Description
actions @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property actions: The type of operation authorized.
decision string | @alicloud/ros-cdk-core.IResolvable Property decision: The decision result of the authorization.
instanceId string | @alicloud/ros-cdk-core.IResolvable Property instanceId: The ID of the RocketMQ instance.
resourceName string | @alicloud/ros-cdk-core.IResolvable Property resourceName: The name of the resource on which you want to grant permissions.
resourceType string | @alicloud/ros-cdk-core.IResolvable Property resourceType: The type of the resource on which you want to grant permissions.
username string | @alicloud/ros-cdk-core.IResolvable Property username: The username of the account.
ipWhitelists @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property ipWhitelists: The IP addresses in the whitelist.

actionsRequired

public readonly actions: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

Property actions: The type of operation authorized.


decisionRequired

public readonly decision: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property decision: The decision result of the authorization.

Valid values: * Deny: Access is denied. * Allow: Allow access.


instanceIdRequired

public readonly instanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceId: The ID of the RocketMQ instance.


resourceNameRequired

public readonly resourceName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


resourceTypeRequired

public readonly resourceType: string | IResolvable;
  • Type: string | @alicloud/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

public readonly username: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property username: The username of the account.


ipWhitelistsOptional

public readonly ipWhitelists: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

Property ipWhitelists: The IP addresses in the whitelist.