Skip to content

AclProps

Properties for defining a Acl.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkkafka"
&alicloudroscdkkafka.AclProps {
    AclOperationTypes: interface{},
    AclResourceName: interface{},
    AclResourcePatternType: interface{},
    AclResourceType: interface{},
    InstanceId: interface{},
    Username: interface{},
    AclPermissionType: interface{},
    Host: interface{},
}

Properties

Name Type Description
AclOperationTypes interface{} Property aclOperationTypes: The types of operations allowed by the ACL.
AclResourceName interface{} Property aclResourceName: The resource name.
AclResourcePatternType interface{} Property aclResourcePatternType: The matching mode.
AclResourceType interface{} Property aclResourceType: The resource type.
InstanceId interface{} Property instanceId: The instance ID.
Username interface{} Property username: The username.
AclPermissionType interface{} Property aclPermissionType: The authorization method.
Host interface{} Property host: The source IP address.

AclOperationTypesRequired

AclOperationTypes interface{}
  • Type: interface{}

Property aclOperationTypes: The types of operations allowed by the ACL.


AclResourceNameRequired

AclResourceName interface{}
  • Type: interface{}

Property aclResourceName: The resource name.

The value can be a topic name, a group ID, a cluster name, or a transaction ID. You can use an asterisk () to specify the names of all resources of the specified type. Note You can use an asterisk () to query the resources on which permissions are granted only after you grant the user the required permissions on all resources.


AclResourcePatternTypeRequired

AclResourcePatternType interface{}
  • Type: interface{}

Property aclResourcePatternType: The matching mode.

Valid values: LITERAL: exact match PREFIXED: prefix match


AclResourceTypeRequired

AclResourceType interface{}
  • Type: interface{}

Property aclResourceType: The resource type.

Valid values: Topic Group Cluster TransactionalId: transactional ID


InstanceIdRequired

InstanceId interface{}
  • Type: interface{}

Property instanceId: The instance ID.


UsernameRequired

Username interface{}
  • Type: interface{}

Property username: The username.

You can use an asterisk () to specify all usernames. Note You can use an asterisk () to query the authorized users only after you grant the required permissions to all users.


AclPermissionTypeOptional

AclPermissionType interface{}
  • Type: interface{}

Property aclPermissionType: The authorization method.

Valid values: DENY ALLOW Note This parameter is available only for ApsaraMQ for Kafka V3 serverless instances.


HostOptional

Host interface{}
  • Type: interface{}

Property host: The source IP address.

Note You can specify only a specific IP address or use the asterisk (*) wildcard character to specify all IP addresses. CIDR blocks are not supported. This parameter is available only for ApsaraMQ for Kafka V3 serverless instances.