Actions Supported by Identity Policy-based Authorization
IAM provides system-defined identity policies to define common actions supported by cloud services. You can also create custom identity policies using the actions supported by cloud services for more refined access control.
In addition to IAM, the Organizations service provides Service Control Policies (SCPs) to set access control policies.
SCPs do not actually grant any permissions to an entity. They only set the permissions boundary for the entity. When SCPs are attached to an organizational unit (OU) or a member account, the SCPs do not directly grant permissions to that OU or member account. Instead, the SCPs only determine what permissions are available for that member account or those member accounts under that OU. The granted permissions can be applied only if they are allowed by the SCPs.
To learn more about how IAM is different from Organizations for access control, see What Are the Differences in Access Control Between IAM and Organizations?.
This section describes the elements used by IAM custom identity policies and Organizations SCPs. The elements include actions, resources, and conditions.
- For details about how to use these elements to create an IAM custom identity policy, see Creating a Custom Identity Policy.
- For details about how to use these elements to create a custom SCP, see Creating an SCP.
Actions
Actions are specific operations that are allowed or denied in an identity policy.
- The Access Level column describes how the action is classified (List, Read, or Write). This classification helps you understand the level of access that an action grants when you use it in a policy.
- The Resource Type column indicates whether the action supports resource-level permissions.
- You can use a wildcard (*) to indicate all resource types. If this column is empty (-), the action does not support resource-level permissions and you must specify all resources ("*") in your identity policy statements.
- If this column includes a resource type, you must specify the URN in the Resource element of your policy statements.
- Required resources are marked with asterisks (*) in the table. If you specify a resource in a statement using this action, then it must be of this type.
For details about the resource types defined by AI DataLake, see Resources.
- The Condition Key column contains keys that you can specify in the Condition element of an identity policy statement.
- If the Resource Type column has values for an action, the condition key takes effect only for the listed resource types.
- If the Resource Type column is empty (-) for an action, the condition key takes effect for all resources that action supports.
- If the Condition Key column is empty (-) for an action, the action does not support any condition keys.
For details about the condition keys defined by AI DataLake, see Conditions.
- The Alias column lists the policy actions that are configured in identity policies. With these actions, you can use APIs for policy-based authorization. For details, see Policies and Identity Policies.
The following table lists the actions that you can define in policy statements for AI DataLake.
| Action | Description | Access Level | Resource Type (*: required) | Condition Key | Alias |
|---|---|---|---|---|---|
| DataArtsFabric:workspace:create | Grants permission to create workspaces. | Write | workspace * | - | - |
| - | |||||
| DataArtsFabric:workspace:list | Grants permission to list workspaces. | List | workspace * | - | - |
| DataArtsFabric:workspace:alter | Grants permission to modify workspaces. | Write | workspace * | - | |
| DataArtsFabric:workspace:drop | Grants permission to delete workspaces. | Write | workspace * | - | |
| DataArtsFabric:workspace:createCompute | Grants permission to create compute resources. | Write | workspace * | - | |
| DataArtsFabric:workspace:listCompute | Grants permission to query compute resources. | List | workspace * | - | |
| DataArtsFabric:workspace:dropCompute | Grants permission to delete compute resources. | Write | workspace * | - | |
| DataArtsFabric:workspace:alterCompute | Grants permission to modify compute resources. | Write | workspace * | - | |
| DataArtsFabric:workspace:listComputeMetrics | Grants permission to query compute resource metrics. | List | workspace * | - | |
| DataArtsFabric:endpoint:list | Grants permission to query the endpoint list of a workspace. | List | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:endpoint:create | Grants permission to create endpoints for a workspace. | Write | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:endpoint:alter | Grants permission to modify the endpoints of a workspace. | Write | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:endpoint:drop | Grants permission to delete endpoints under a workspace. | Write | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:endpoint:showResourceLimit | Grants permission to query resource limits of a resource pool. | Read | workspace * | - | |
| DataArtsFabric:endpoint:show | Grants permission to query the endpoint details of a workspace. | Read | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric::tagResource | Grants permission to create tags. | Tagging | workspace * | DataArtsFabric:workspace:tagResource | |
| - | |||||
| DataArtsFabric::unTagResource | Grants permission to delete tags. | Tagging | workspace * | DataArtsFabric:workspace:unTagResource | |
| - | |||||
| DataArtsFabric::listTags | Grants permission to list tags. | List | - | - | DataArtsFabric:workspace:listTags |
| DataArtsFabric::listTagsForResource | Grants permission to query tags of a resource. | List | workspace * | DataArtsFabric:workspace:listTagsForResource | |
| DataArtsFabric::listResourcesByTag | Grants permission to query resources by tag. | List | - | DataArtsFabric:workspace:listResourcesByTag | |
| DataArtsFabric:image:listImages | Grants permission to list images. | List | image * | - | - |
| DataArtsFabric:image:registerImage | Grants permission to register an image. | Write | image * | - | - |
| DataArtsFabric:image:deleteImage | Grants permission to delete an image. | Write | image * | - | - |
| DataArtsFabric:image:showImage | Grants permission to query image details. | Read | image * | - | - |
| DataArtsFabric:image:updateImage | Grants permission to update an image. | Write | image * | - | - |
| DataArtsFabric:image:listSnapshots | Grants permission to list image snapshots. | List | image * | - | - |
| DataArtsFabric:image:createSnapshot | Grants permission to create an image snapshot. | Write | image * | - | - |
| DataArtsFabric:image:deleteSnapshot | Grants permission to delete an image snapshot. | Write | image * | - | - |
| DataArtsFabric:workspace:createSqlSession | Grants permission to create a SQL session. | Write | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:workspace:executeStatement | Grants permission to execute a statement. | Write | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:workspace:showStatementResult | Grants permission to query statement results. | Read | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:workspace:showSqlSession | Grants permission to query SQL session information. | Read | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:workspace:listSqlSessions | Grants permission to list SQL sessions. | List | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:workspace:listSessionStatementRecords | Grants permission to query statement history records under a session. | List | workspace * | - | |
| DataArtsFabric:workspace:listStatementRecords | Grants permission to query statement history records. | List | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:workspace:deleteSqlSession | Grants permission to delete a SQL session. | Write | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:workspace:cancelStatement | Grants permission to cancel the execution of a statement. | Write | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:sparkJob:run | Grants permission to run a Spark job. | Write | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:sparkJob:list | Grants permission to list Spark jobs. | List | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:sparkJob:show | Grants permission to query Spark jobs. | Read | workspace * | - | |
| DataArtsFabric:sparkJob:stop | Grants permission to stop a Spark job. | Write | workspace * | - | |
| DataArtsFabric:sparkSql:run | Grants permission to run a Spark SQL job. | Write | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:sparkSql:list | Grants permission to list Spark SQL jobs. | List | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:sparkSql:show | Grants permission to query a Spark SQL job. | Read | workspace * | - | |
| DataArtsFabric:sparkSql:stop | Grants permission to stop a Spark SQL job. | Write | workspace * | - | |
| DataArtsFabric:endpoint:restart | Grants permission to restart the endpoint of a workspace. | Write | - | - | - |
| DataArtsFabric:sparkOperator:show | Grants permission to query the SparkOperator of a workspace. | Read | - | - | - |
| DataArtsFabric:flinkJob:show | Grants permission to query a Flink job. | Read | workspace * | - | |
| DataArtsFabric:flinkJob:run | Grants permission to run a Flink job. | Write | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:flinkJob:stop | Grants permission to stop a Flink job. | Write | workspace * | - | |
| DataArtsFabric:flinkJob:list | Grants permission to list Flink jobs. | List | workspace * | - | |
| endpoint * | - | ||||
| DataArtsFabric:flinkSavepoint:create | Grants permission to create a Flink snapshot. | Write | workspace * | - | |
| DataArtsFabric:flinkSavepoint:list | Grants permission to list Flink snapshots. | List | workspace * | - | |
| DataArtsFabric:flinkSavepoint:show | Grants permission to query a Flink snapshot. | Read | workspace * | - | |
| DataArtsFabric:flinkSavepoint:delete | Grants permission to delete a Flink snapshot. | Write | workspace * | - | |
| DataArtsFabric:flinkJobAutoscalingPolicy:update | Grants permission to update the automatic tuning configuration of a Flink job. | Write | workspace * | - | |
| DataArtsFabric:flinkJobAutoscalingPolicy:show | Grants permission to query the automatic tuning configuration of a Flink job. | Read | workspace * | - | |
| DataArtsFabric:flinkJobAutoscalingHistory:list | Grants permission to query the automatic tuning history of a Flink job. | List | workspace * | - |
Each API of AI DataLake usually supports one or more actions. Table 2 lists the supported actions and dependencies.
| API | Action | Dependency |
|---|---|---|
| DataArtsFabric:workspace:createSqlSession | - | |
| GET /v2/workspaces/{workspace_id}/aura-sessions/{session_id} | DataArtsFabric:workspace:showSqlSession | DataArtsFabric:endpoint:show |
| DELETE /v2/workspaces/{workspace_id}/aura-sessions/{session_id} | DataArtsFabric:workspace:deleteSqlSession | - |
| DataArtsFabric:workspace:executeStatement | DataArtsFabric:endpoint:show | |
| GET /v2/workspaces/{workspace_id}/aura-sessions/{session_id}/statements/{statement_id} | DataArtsFabric:workspace:showStatementResult | DataArtsFabric:endpoint:show |
| POST /v2/workspaces/{workspace_id}/aura-sessions/{session_id}/statements/{statement_id}/cancel | DataArtsFabric:workspace:cancelStatement | DataArtsFabric:endpoint:show |
| DataArtsFabric:workspace:listStatementRecords | DataArtsFabric:endpoint:show | |
| DataArtsFabric:workspace:listSqlSessions | DataArtsFabric:endpoint:show | |
| GET /v2/workspaces/{workspace_id}/aura-sessions/{session_id}/statements | DataArtsFabric:workspace:listSessionStatementRecords | DataArtsFabric:endpoint:show |
| GET /v2/workspaces/{workspace_id}/aura-sessions/{session_id}/statements/{statement_id}/query-metrics | DataArtsFabric:workspace:listSessionStatementRecords | DataArtsFabric:endpoint:show |
| DataArtsFabric:workspace:listSessionStatementRecords | DataArtsFabric:endpoint:show | |
| POST /v2/workspaces/{workspace_id}/spark-sqls/{statement_id}/cancel | DataArtsFabric:sparkSql:stop | DataArtsFabric:workspace:list |
| GET /v2/workspaces/{workspace_id}/spark-sqls/{statement_id}/state | DataArtsFabric:sparkSql:show | DataArtsFabric:workspace:list |
| DataArtsFabric:sparkSql:list |
| |
| DataArtsFabric:sparkSql:show | DataArtsFabric:workspace:list | |
| POST /v2/workspaces/{workspace_id}/spark-sqls/{statement_id}/preview | DataArtsFabric:sparkSql:show | DataArtsFabric:workspace:list |
| DataArtsFabric:sparkSql:run |
| |
| DataArtsFabric:sparkJob:show | DataArtsFabric:workspace:list | |
| DataArtsFabric:sparkJob:run |
| |
| DataArtsFabric:sparkJob:list |
| |
| DataArtsFabric:sparkJob:show | DataArtsFabric:workspace:list | |
| POST /v2/workspaces/{workspace_id}/spark-jobs/{job_id}/cancel | DataArtsFabric:sparkJob:stop | DataArtsFabric:workspace:list |
| POST /v2/workspaces/{workspace_id}/endpoints/{endpoint_name}/spark-sqls/restart-cluster | DataArtsFabric:endpoint:restart |
|
| POST /v2/workspaces/{workspace_id}/spark-operators/{operation_id}/show-state | DataArtsFabric:sparkOperator:show | DataArtsFabric:workspace:list |
| DataArtsFabric:workspace:create | lakeformation:instance:show | |
| DataArtsFabric:workspace:list | - | |
| DataArtsFabric:workspace:list | - | |
| DataArtsFabric:workspace:alter | lakeformation:instance:show | |
| DataArtsFabric:workspace:drop | - | |
| DataArtsFabric:workspace:createCompute | - | |
| DataArtsFabric:workspace:listCompute | - | |
| DataArtsFabric:workspace:listCompute | - | |
| DataArtsFabric:workspace:listCompute | - | |
| DataArtsFabric:workspace:dropCompute | - | |
| DataArtsFabric:workspace:alterCompute | - | |
| DataArtsFabric:workspace:listComputeMetrics | - | |
| DataArtsFabric:endpoint:list | - | |
| DataArtsFabric:endpoint:list | - | |
| DataArtsFabric:endpoint:create |
| |
| DataArtsFabric:endpoint:show | - | |
| GET /v2/workspaces/{workspace_id}/endpoints/{endpoint_id}/metrics | DataArtsFabric:endpoint:show | - |
| DataArtsFabric:endpoint:alter | - | |
| DELETE /v2/workspaces/{workspace_id}/endpoints/{endpoint_id} | DataArtsFabric:endpoint:drop |
|
| DataArtsFabric:endpoint:showResourceLimit | - | |
| DataArtsFabric:image:listImages | - | |
| DataArtsFabric:image:registerImage | - | |
| DataArtsFabric:image:deleteImage | - | |
| DataArtsFabric:image:showImage | - | |
| DataArtsFabric:image:listImages | - | |
| DataArtsFabric:image:registerImage | - | |
| DataArtsFabric:image:deleteImage | - | |
| DataArtsFabric:image:showImage | - | |
| DataArtsFabric:image:updateImage | - | |
| DataArtsFabric:image:listSnapshots | - | |
| POST /v2/images/{image_id}/versions/{version_id}/image-snapshots | DataArtsFabric:image:createSnapshot | - |
| DELETE /v2/images/{image_id}/versions/{version_id}/image-snapshots/{image_snapshot_id} | DataArtsFabric:image:deleteSnapshot | - |
| DataArtsFabric::listTags | DataArtsFabric:workspace:list | |
| POST /v2/{project_id}/{resource_type}/resource-instances/filter | DataArtsFabric::listResourcesByTag | DataArtsFabric:workspace:list |
| POST /v2/{project_id}/{resource_type}/resource-instances/count | DataArtsFabric::listResourcesByTag | DataArtsFabric:workspace:list |
| DataArtsFabric::listTagsForResource | DataArtsFabric:workspace:list | |
| POST /v2/{project_id}/{resource_type}/{resource_id}/tags/create | DataArtsFabric::tagResource | DataArtsFabric:workspace:list |
| POST /v2/{project_id}/{resource_type}/{resource_id}/tags/delete | DataArtsFabric::unTagResource | DataArtsFabric:workspace:list |
| DataArtsFabric:flinkJob:show | DataArtsFabric:workspace:list | |
| DataArtsFabric:flinkJob:show | DataArtsFabric:workspace:list | |
| POST /v2/workspaces/{workspace_id}/flink-jobs/{job_id}/cancel | DataArtsFabric:flinkJob:stop | DataArtsFabric:workspace:list |
| GET /v2/workspaces/{workspace_id}/flink-jobs/{job_id}/events | DataArtsFabric:flinkJob:show | DataArtsFabric:workspace:list |
| DataArtsFabric:flinkJob:run |
| |
| DataArtsFabric:flinkJob:list |
| |
| POST /v2/workspaces/{workspace_id}/flink-jobs/{job_id}/flink-savepoints | DataArtsFabric:flinkSavepoint:create | DataArtsFabric:workspace:list |
| GET /v2/workspaces/{workspace_id}/flink-jobs/{job_id}/flink-savepoints | DataArtsFabric:flinkSavepoint:list | DataArtsFabric:workspace:list |
| GET /v2/workspaces/{workspace_id}/flink-jobs/{job_id}/flink-savepoints/{savepoint_id} | DataArtsFabric:flinkSavepoint:show | DataArtsFabric:workspace:list |
| DELETE /v2/workspaces/{workspace_id}/flink-jobs/{job_id}/flink-savepoints/{savepoint_id} | DataArtsFabric:flinkSavepoint:delete | DataArtsFabric:workspace:list |
| GET /v2/workspaces/{workspace_id}/flink-jobs/{job_id}/autoscaling-policy | DataArtsFabric:flinkJobAutoscalingPolicy:show | DataArtsFabric:workspace:list |
| PUT /v2/workspaces/{workspace_id}/flink-jobs/{job_id}/autoscaling-policy | DataArtsFabric:flinkJobAutoscalingPolicy:update | DataArtsFabric:workspace:list |
| GET /v2/workspaces/{workspace_id}/flink-jobs/{job_id}/autoscaling-histories | DataArtsFabric:flinkJobAutoscalingHistory:list | DataArtsFabric:workspace:list |
Resources
A resource type (Resource) defines the resources on which an identity policy takes effect. In Table 3, if a specific operation has an associated resource type, then in the identity policy statement containing that operation, the policy will only take effect on the specified resource when the corresponding resource URN is provided. If no resource URN is specified, the policy will apply to all resources under the designated resource type. If no resource type is defined, the default value of Resource is *, meaning the policy applies to all resources. You can also set condition keys in an identity policy to define resource types.
The following table lists the resource types that you can define in identity policy statements for AI DataLake.
Conditions
AI DataLake does not support service-specific condition keys in identity policies. AI DataLake can use global condition keys applicable to all services. For details, see Global Condition Keys.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot