lakeformation__AssociatePrincipals
Associates one or more users or user groups with a LakeFormation role using the instance ID, project ID, and role name.
Instructions
[LAKEFORMATION] 将一个或者多个用户/用户组加入角色
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"role_name": "<role_name>"
},
"name": "lakeformation__AssociatePrincipals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_name | Yes | 角色名称。只能包含字母、数字和下划线,且长度为1~255个字符。 | |
| project_id | Yes | 项目编号。获取方法,请参见[获取项目ID](lakeformation_04_0026.xml)。 | |
| instance_id | Yes | LakeFormation实例ID。创建实例时自动生成。例如:2180518f-42b8-4947-b20b-adfc53981a25。 |