Skip to content

AclProps

Properties for defining a Acl.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Kafka;
new AclProps {
    object AclOperationTypes,
    object AclResourceName,
    object AclResourcePatternType,
    object AclResourceType,
    object InstanceId,
    object Username,
    object AclPermissionType = null,
    object Host = null
};

Properties

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

AclOperationTypesRequired

public object AclOperationTypes { get; set; }
  • Type: object

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


AclResourceNameRequired

public object AclResourceName { get; set; }
  • Type: object

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

public object AclResourcePatternType { get; set; }
  • Type: object

Property aclResourcePatternType: The matching mode.

Valid values: LITERAL: exact match PREFIXED: prefix match


AclResourceTypeRequired

public object AclResourceType { get; set; }
  • Type: object

Property aclResourceType: The resource type.

Valid values: Topic Group Cluster TransactionalId: transactional ID


InstanceIdRequired

public object InstanceId { get; set; }
  • Type: object

Property instanceId: The instance ID.


UsernameRequired

public object Username { get; set; }
  • Type: object

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

public object AclPermissionType { get; set; }
  • Type: object

Property aclPermissionType: The authorization method.

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


HostOptional

public object Host { get; set; }
  • Type: object

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.