Skip to content

AclProps

Properties for defining a Acl.

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

Initializer

import com.aliyun.ros.cdk.rocketmq5.AclProps;
AclProps.builder()
    .actions(IResolvable)
    .actions(java.util.List<java.lang.String)
    .actions(IResolvable>)
    .decision(java.lang.String)
    .decision(IResolvable)
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
    .resourceName(java.lang.String)
    .resourceName(IResolvable)
    .resourceType(java.lang.String)
    .resourceType(IResolvable)
    .username(java.lang.String)
    .username(IResolvable)
//  .ipWhitelists(IResolvable)
//  .ipWhitelists(java.util.List<java.lang.String)
//  .ipWhitelists(IResolvable>)
    .build();

Properties

Name Type Description
actions com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property actions: The type of operation authorized.
decision java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property decision: The decision result of the authorization.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: The ID of the RocketMQ instance.
resourceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceName: The name of the resource on which you want to grant permissions.
resourceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceType: The type of the resource on which you want to grant permissions.
username java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property username: The username of the account.
ipWhitelists com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property ipWhitelists: The IP addresses in the whitelist.

actionsRequired

public java.lang.Object getActions();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property actions: The type of operation authorized.


decisionRequired

public java.lang.Object getDecision();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property decision: The decision result of the authorization.

Valid values:

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

instanceIdRequired

public java.lang.Object getInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceId: The ID of the RocketMQ instance.


resourceNameRequired

public java.lang.Object getResourceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


resourceTypeRequired

public java.lang.Object getResourceType();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getUsername();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property username: The username of the account.


ipWhitelistsOptional

public java.lang.Object getIpWhitelists();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property ipWhitelists: The IP addresses in the whitelist.