ALIYUN::KAFKA::Acl is used to create an access control list (ACL).
Syntax
{
"Type": "ALIYUN::KAFKA::Acl",
"Properties": {
"AclResourceName": String,
"AclOperationTypes": List,
"AclResourceType": String,
"AclResourcePatternType": String,
"InstanceId": String,
"Username": String,
"AclPermissionType": String,
"Host": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
AclResourceName | String | Yes | No | The resource name. |
Note You can use an asterisk (*) to query the authorized resources only after you grant the required permissions on all resources. |
AclOperationTypes | List | Yes | No | The allowed operations. | Separate multiple operations with commas (,). Valid values:
Note This property is available only for serverless ApsaraMQ for Kafka V3 instances. |
AclResourceType | String | Yes | No | The resource type. | Valid values:
|
AclResourcePatternType | String | Yes | No | The matching mode. | Valid values:
|
InstanceId | String | Yes | No | The instance ID. | None. |
Username | String | Yes | No | The username. |
Note You can use an asterisk (*) to query the authorized users only after you grant the required permissions to all users. |
AclPermissionType | String | No | No | The authorization type. | Valid values:
Note This property is available only for serverless ApsaraMQ for Kafka V3 instances. |
Host | String | No | No | The source IP address. | Note You can specify only a specific IP address or use an asterisk (*) to specify all IP addresses. CIDR blocks are not supported. This property is available only for serverless ApsaraMQ for Kafka V3 instances. |
Return values
Fn::GetAtt
InstanceId: the instance ID.
Username: the username.
AclResourceType: the resource type.