Skip to content

AclProps

Properties for defining a Acl.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkrocketmq5"
&alicloudroscdkrocketmq5.AclProps {
    Actions: interface{},
    Decision: interface{},
    InstanceId: interface{},
    ResourceName: interface{},
    ResourceType: interface{},
    Username: interface{},
    IpWhitelists: interface{},
}

Properties

Name Type Description
Actions interface{} Property actions: The type of operation authorized.
Decision interface{} Property decision: The decision result of the authorization.
InstanceId interface{} Property instanceId: The ID of the RocketMQ instance.
ResourceName interface{} Property resourceName: The name of the resource on which you want to grant permissions.
ResourceType interface{} Property resourceType: The type of the resource on which you want to grant permissions.
Username interface{} Property username: The username of the account.
IpWhitelists interface{} Property ipWhitelists: The IP addresses in the whitelist.

ActionsRequired

Actions interface{}
  • Type: interface{}

Property actions: The type of operation authorized.


DecisionRequired

Decision interface{}
  • Type: interface{}

Property decision: The decision result of the authorization.

Valid values:

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

InstanceIdRequired

InstanceId interface{}
  • Type: interface{}

Property instanceId: The ID of the RocketMQ instance.


ResourceNameRequired

ResourceName interface{}
  • Type: interface{}

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


ResourceTypeRequired

ResourceType interface{}
  • Type: interface{}

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

Valid values:

  • Group: consumer Group.
  • Topic: Topic.

UsernameRequired

Username interface{}
  • Type: interface{}

Property username: The username of the account.


IpWhitelistsOptional

IpWhitelists interface{}
  • Type: interface{}

Property ipWhitelists: The IP addresses in the whitelist.