Skip to content

AclProps

Properties for defining a Acl.

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

Initializer

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

Properties

Name Type Description
aclOperationTypes @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property aclOperationTypes: The types of operations allowed by the ACL.
aclResourceName string | @alicloud/ros-cdk-core.IResolvable Property aclResourceName: The resource name.
aclResourcePatternType string | @alicloud/ros-cdk-core.IResolvable Property aclResourcePatternType: The matching mode.
aclResourceType string | @alicloud/ros-cdk-core.IResolvable Property aclResourceType: The resource type.
instanceId string | @alicloud/ros-cdk-core.IResolvable Property instanceId: The instance ID.
username string | @alicloud/ros-cdk-core.IResolvable Property username: The username.
aclPermissionType string | @alicloud/ros-cdk-core.IResolvable Property aclPermissionType: The authorization method.
host string | @alicloud/ros-cdk-core.IResolvable Property host: The source IP address.

aclOperationTypesRequired

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

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


aclResourceNameRequired

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

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 readonly aclResourcePatternType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property aclResourcePatternType: The matching mode.

Valid values: LITERAL: exact match PREFIXED: prefix match


aclResourceTypeRequired

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

Property aclResourceType: The resource type.

Valid values: Topic Group Cluster TransactionalId: transactional ID


instanceIdRequired

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

Property instanceId: The instance ID.


usernameRequired

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

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 readonly aclPermissionType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property aclPermissionType: The authorization method.

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


hostOptional

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

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.