RAM authorization

Updated at:

Resource Access Management (RAM) is a service provided by Alibaba Cloud to manage user identities and resource access permissions. Using RAM helps you avoid sharing your Alibaba Cloud account keys with other users and allows you to grant users the least privilege access. RAM uses permission policies to define authorizations. This topic describes the general structure of a RAM policy, and the policy statement elements (Action, Resource, and Condition) defined by Visual Edge Computing Service for RAM permission policies. The RAM code (RamCode) for Visual Edge Computing Service is vs , and the supported authorization granularity is OPERATION .

General structure of a policy

Permission policies support JSON format with the following general structure:

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "<Effect>",
      "Action": "<Action>",
      "Resource": "<Resource>",
      "Condition": {
        "<Condition_operator>": {
          "<Condition_key>": [
            "<Condition_value>"
          ]
        }
      }
    }
  ]
}        

The following list describes the fields in the policy:

  • Version: Specifies the policy version number. It is fixed at 1.

  • Statement:

    • Effect: Specifies the authorization result. Valid values: Allow and Deny.

    • Action: Specifies one or more operations that are allowed or denied.

    • Resource: Specifies the specific objects affected by the operations. You can use Alibaba Cloud Resource Names (ARNs) to describe specific resources.

    • Condition: Specifies the conditions for the authorization to take effect. This field is optional.

      • Condition operator: Specifies the conditional operators. Different types of conditions support different conditional operators.

      • Condition_key: Specifies the condition keys.

      • Condition_value: Specifies the condition values.

Action

The following table lists the actions defined by Visual Edge Computing Service. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that support authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding ARN in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys that are applicable across all RAM-integrated services. For more information, see Common condition keys.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

API

Access level

Resource type

Condition key

Dependent action

vs:OpenVsService OpenVsService

*All Resource

*

None None
vs:DescribeComfyUserDataUploadUrl DescribeComfyUserDataUploadUrl none

*All Resource

*

None None
vs:DescribeVsDomainRecordData DescribeVsDomainRecordData get

*All Resource

*

None None
vs:DescribeParentPlatform DescribeParentPlatform get

*All Resource

*

None None
vs:StartTransferStream StartTransferStream update

*All Resource

*

None None
vs:DescribeVsPullStreamInfoConfig DescribeVsPullStreamInfoConfig get

*All Resource

*

None None
vs:ResumeVsStream ResumeVsStream

*All Resource

*

None None
vs:DescribeVsStreamsNotifyUrlConfig DescribeVsStreamsNotifyUrlConfig get

*All Resource

*

None None
vs:DeleteRenderingInstanceConfiguration DeleteRenderingInstanceConfiguration none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:ListCloudApps ListCloudApps list

*All Resource

*

None None
vs:ListRenderingProjectInstances ListRenderingProjectInstances list

*All Resource

*

None None
vs:BatchBindPurchasedDevices BatchBindPurchasedDevices

*All Resource

*

None None
vs:DeleteHive DeleteHive update

*All Resource

*

None None
vs:StartDevice StartDevice update

*All Resource

*

None None
vs:ListRenderingProjects ListRenderingProjects list

*All Resource

*

None None
vs:ListRenderingInstanceGateway ListRenderingInstanceGateway none

*All Resource

*

None None
vs:SetVsDomainCertificate SetVsDomainCertificate update

*All Resource

*

None None
vs:ListRenderingDataPackages ListRenderingDataPackages none

*All Resource

*

None None
vs:SendRenderingInstanceCommands SendRenderingInstanceCommands none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:CreateTemplate CreateTemplate create

*All Resource

*

None None
vs:DescribeStreamVodList DescribeStreamVodList get

*All Resource

*

None None
vs:DescribeVsStreamsOnlineList DescribeVsStreamsOnlineList get

*All Resource

*

None None
vs:ListFilePushStatuses ListFilePushStatuses list

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:CreateRenderingProject CreateRenderingProject create

*All Resource

*

None None
vs:ListCloudAppPatches ListCloudAppPatches list

*All Resource

*

None None
vs:UnbindDirectory UnbindDirectory

*All Resource

*

None None
vs:AddVsPullStreamInfoConfig AddVsPullStreamInfoConfig create

*All Resource

*

None None
vs:ModifyDeviceAlarm ModifyDeviceAlarm update

*All Resource

*

None None
vs:DescribeStream DescribeStream get

*All Resource

*

None None
vs:ReleaseRenderingDataPackage ReleaseRenderingDataPackage none

*All Resource

*

None None
vs:PushFile PushFile none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:DescribeComfyProductions DescribeComfyProductions none

*All Resource

*

None None
vs:BatchForbidVsStream BatchForbidVsStream

*All Resource

*

None None
vs:ListHives ListHives none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:DelHiveEdgeWorkers DelHiveEdgeWorkers update

*All Resource

*

None None
vs:RefreshRenderingInstanceStreaming RefreshRenderingInstanceStreaming none

*All Resource

*

None None
vs:UploadPublicKey UploadPublicKey none

*All Resource

*

None None
vs:DeleteComfyUserData DeleteComfyUserData none

*All Resource

*

None None
vs:DescribeTemplates DescribeTemplates get

*All Resource

*

None None
vs:BatchSetVsDomainConfigs BatchSetVsDomainConfigs

*All Resource

*

None None
vs:DescribeGroups DescribeGroups get

*All Resource

*

None None
vs:DescribeVsDomainPvData DescribeVsDomainPvData get

*All Resource

*

None None
vs:DescribeParentPlatformDevices DescribeParentPlatformDevices get

*All Resource

*

None None
vs:CreateRenderingInstanceGateway CreateRenderingInstanceGateway none

*All Resource

*

None None
vs:UpdateRenderingProject UpdateRenderingProject update

*All Resource

*

None None
vs:ModifyTemplate ModifyTemplate update

*All Resource

*

None None
vs:StopDevice StopDevice update

*All Resource

*

None None
vs:ModifyRenderingInstanceBandwidth ModifyRenderingInstanceBandwidth none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:DescribeVsDomainRegionData DescribeVsDomainRegionData get

*All Resource

*

None None
vs:BatchStopDevices BatchStopDevices

*All Resource

*

None None
vs:AssociateRenderingProjectInstances AssociateRenderingProjectInstances update

*All Resource

*

None None
vs:DeleteRenderingProject DeleteRenderingProject delete

*All Resource

*

None None
vs:DeleteComfyWorkflow DeleteComfyWorkflow create

*All Resource

*

None None
vs:StartParentPlatform StartParentPlatform update

*All Resource

*

None None
vs:DescribeStreams DescribeStreams get

*All Resource

*

None None
vs:DescribeDeviceURL DescribeDeviceURL get

*All Resource

*

None None
vs:RenewRenderingInstance RenewRenderingInstance none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:BatchResumeVsStream BatchResumeVsStream

*All Resource

*

None None
vs:DeleteRenderingInstanceSettings DeleteRenderingInstanceSettings none

*All Resource

*

None None
vs:BindTemplate BindTemplate

*All Resource

*

None None
vs:CreateStreamSnapshot CreateStreamSnapshot create

*All Resource

*

None None
vs:DescribeVodStreamURL DescribeVodStreamURL get

*All Resource

*

None None
vs:CancelComfyTask CancelComfyTask delete

*All Resource

*

None None
vs:DisassociateRenderingProjectInstances DisassociateRenderingProjectInstances update

*All Resource

*

None None
vs:StopRenderingSession StopRenderingSession update

*All Resource

*

None None
vs:DeletePublicKey DeletePublicKey none

*All Resource

*

None None
vs:DeleteVsPullStreamInfoConfig DeleteVsPullStreamInfoConfig delete

*All Resource

*

None None
vs:ForbidVsStream ForbidVsStream

*All Resource

*

None None
vs:CreateComfyWorkflow CreateComfyWorkflow create

*All Resource

*

None None
vs:UploadCloudApp UploadCloudApp create

*All Resource

*

None None
vs:ListRenderingSessions ListRenderingSessions list

*All Resource

*

None None
vs:UpdateCloudAppInfo UpdateCloudAppInfo update

*All Resource

*

None None
vs:CreateDevice CreateDevice create

*All Resource

*

None None
vs:ModifyParentPlatform ModifyParentPlatform update

*All Resource

*

None None
vs:ModifyHiveAttribute ModifyHiveAttribute update

*All Resource

*

None None
vs:DescribeComfyUserDatas DescribeComfyUserDatas none

*All Resource

*

None None
vs:DescribeComfyUserDataDownloadUrl DescribeComfyUserDataDownloadUrl get

*All Resource

*

None None
vs:DescribeParentPlatforms DescribeParentPlatforms get

*All Resource

*

None None
vs:DescribeDevice DescribeDevice get

*All Resource

*

None None
vs:DescribeVsDomainReqTrafficData DescribeVsDomainReqTrafficData get

*All Resource

*

None None
vs:CreateRenderingInstance CreateRenderingInstance none

*All Resource

*

None None
vs:DescribeVsDomainReqBpsData DescribeVsDomainReqBpsData get

*All Resource

*

None None
vs:RebootRenderingServer RebootRenderingServer update

*All Resource

*

None None
vs:UpdateRenderingInstanceSettings UpdateRenderingInstanceSettings none

*All Resource

*

None None
vs:DeleteDevice DeleteDevice delete

*All Resource

*

None None
vs:UnbindTemplate UnbindTemplate

*All Resource

*

None None
vs:DescribeDirectory DescribeDirectory get

*All Resource

*

None None
vs:GetRenderingProjectInstanceStateMetrics GetRenderingProjectInstanceStateMetrics get

*All Resource

*

None None
vs:DescribeComfyWorkflows DescribeComfyWorkflows none

*All Resource

*

None None
vs:ModifyRenderingChargeType ModifyRenderingChargeType update

*Crs

acs:vs::{#accountId}:crs/{#CrsId}

None None
vs:StopStream StopStream update

*All Resource

*

None None
vs:BatchStartDevices BatchStartDevices

*All Resource

*

None None
vs:BatchUnbindTemplate BatchUnbindTemplate

*All Resource

*

None None
vs:RecoverRenderingDataPackage RecoverRenderingDataPackage none

*All Resource

*

None None
vs:DescribeDeviceChannels DescribeDeviceChannels get

*All Resource

*

None None
vs:BatchBindParentPlatformDevices BatchBindParentPlatformDevices

*All Resource

*

None None
vs:ModifyRenderingInstanceAttribute ModifyRenderingInstanceAttribute update

*All Resource

*

None None
vs:UnlockDevice UnlockDevice

*All Resource

*

None None
vs:DescribeComfyTasks DescribeComfyTasks none

*All Resource

*

None None
vs:StartRenderingSession StartRenderingSession update

*All Resource

*

None None
vs:DescribeGroup DescribeGroup get

*All Resource

*

None None
vs:DescribeDirectories DescribeDirectories get

*All Resource

*

None None
vs:DeleteVsStreamsNotifyUrlConfig DeleteVsStreamsNotifyUrlConfig delete

*All Resource

*

None None
vs:ListRenderingSessions ListRenderingImages list

*All Resource

*

None None
vs:GetRenderingInstanceCommandsStatus GetRenderingInstanceCommandsStatus none

*Crs

acs:videosurveillancesystem::{#accountId}:crs/{#CrsId}

None None
vs:DescribeVsUserResourcePackage DescribeVsUserResourcePackage get

*All Resource

*

None None
vs:ListSpecifications ListSpecifications none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:ContinuousMove ContinuousMove

*All Resource

*

None None
vs:UpdateFileInfo UpdateFileInfo none

*All Resource

*

None None
vs:RebootRenderingInstance RebootRenderingInstance none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:CreateComfyTask CreateComfyTask create

*All Resource

*

None None
vs:DescribePurchasedDevices DescribePurchasedDevices get

*All Resource

*

None None
vs:DescribeRecords DescribeRecords get

*All Resource

*

None None
vs:CreateDeviceAlarm CreateDeviceAlarm create

*All Resource

*

None None
vs:BatchBindTemplate BatchBindTemplate

*All Resource

*

None None
vs:CreateParentPlatform CreateParentPlatform create

*All Resource

*

None None
vs:ReleaseRenderingInstance ReleaseRenderingInstance none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:StopAdjust StopAdjust update

*All Resource

*

None None
vs:DescribePresets DescribePresets get

*All Resource

*

None None
vs:DescribeVsDomainSnapshotData DescribeVsDomainSnapshotData get

*All Resource

*

None None
vs:ListEdgeWorkers ListEdgeWorkers none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:DescribeVsDomainCertificateInfo DescribeVsDomainCertificateInfo get

*All Resource

*

None None
vs:DeleteCloudApp DeleteCloudApp delete

*All Resource

*

None None
vs:BatchUnbindDirectories BatchUnbindDirectories

*All Resource

*

None None
vs:BindPurchasedDevice BindPurchasedDevice

*All Resource

*

None None
vs:StartStream StartStream update

*All Resource

*

None None
vs:DescribeVsDomainUvData DescribeVsDomainUvData get

*All Resource

*

None None
vs:UpdateRenderingInstanceConfiguration UpdateRenderingInstanceConfiguration none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:CreateHive CreateHive update

*All Resource

*

None None
vs:StopTransferStream StopTransferStream update

*All Resource

*

None None
vs:DescribeVsDomainTrafficData DescribeVsDomainTrafficData get

*All Resource

*

None None
vs:BatchUnbindTemplates BatchUnbindTemplates

*All Resource

*

None None
vs:BatchCaptureRenderingInstanceScreenshot BatchCaptureRenderingInstanceScreenshot none

*All Resource

*

None None
vs:DescribeComfyTasks DescribeComfyTaskWaitingQueue none

*All Resource

*

None None
vs:DeleteParentPlatform DeleteParentPlatform delete

*All Resource

*

None None
vs:CreateGroup CreateGroup create

*All Resource

*

None None
vs:UnbindParentPlatformDevice UnbindParentPlatformDevice

*All Resource

*

None None
vs:DescribeAccountStat DescribeAccountStat get

*All Resource

*

None None
vs:UninstallCloudApp UninstallCloudApp update

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:DescribeVsCertificateList DescribeVsCertificateList get

*All Resource

*

None None
vs:DescribeVsTopDomainsByFlow DescribeVsTopDomainsByFlow get

*All Resource

*

None None
vs:BindParentPlatformDevice BindParentPlatformDevice

*All Resource

*

None None
vs:BatchDeleteDevices BatchDeleteDevices

*All Resource

*

None None
vs:DescribeRenderingInstanceSettings DescribeRenderingInstanceSettings none

*All Resource

*

None None
vs:DeleteFile DeleteFile none

*All Resource

*

None None
vs:DescribeVsUpPeakPublishStreamData DescribeVsUpPeakPublishStreamData get

*All Resource

*

None None
vs:DescribeRenderingInstanceConfiguration DescribeRenderingInstanceConfiguration none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:UpgradeRenderingInstanceImage UpgradeRenderingInstanceImage update

*All Resource

*

None None
vs:BindDirectory BindDirectory

*All Resource

*

None None
vs:BatchBindDirectories BatchBindDirectories

*All Resource

*

None None
vs:ModifyGroup ModifyGroup update

*All Resource

*

None None
vs:DescribeTemplate DescribeTemplate get

*All Resource

*

None None
vs:ManageLogin ManageLogin none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:GotoPreset GotoPreset

*All Resource

*

None None
vs:BatchStopStreams BatchStopStreams

*All Resource

*

None None
vs:GetRenderingInstanceStreamingInfo GetRenderingInstanceStreamingInfo none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:DeleteRenderingInstanceGateway DeleteRenderingInstanceGateway none

*All Resource

*

None None
vs:DescribeVsDevicesData DescribeVsDevicesData

*All Resource

*

None None
vs:StopRecordStream StopRecordStream update

*All Resource

*

None None
vs:SetVsStreamsNotifyUrlConfig SetVsStreamsNotifyUrlConfig update

*All Resource

*

None None
vs:BatchStartStreams BatchStartStreams

*All Resource

*

None None
vs:InstallCloudApp InstallCloudApp update

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:DescribeDeviceGateway DescribeDeviceGateway get

*All Resource

*

None None
vs:DescribePurchasedDevice DescribePurchasedDevice get

*All Resource

*

None None
vs:BatchUnbindParentPlatformDevices BatchUnbindParentPlatformDevices

*All Resource

*

None None
vs:CreateComfyUserDataDir CreateComfyUserDataDir none

*All Resource

*

None None
vs:DeleteDirectory DeleteDirectory delete

*All Resource

*

None None
vs:ModifyRenderingInstance ModifyRenderingInstance none

*All Resource

*

None None
vs:DescribeVsStreamsPublishList DescribeVsStreamsPublishList get

*All Resource

*

None None
vs:DescribeStreamURL DescribeStreamURL get

*All Resource

*

None None
vs:ModifyDeviceChannels ModifyDeviceChannels update

*All Resource

*

None None
vs:ModifyComfyWorkflow ModifyComfyWorkflow none

*All Resource

*

None None
vs:CreateDirectory CreateDirectory create

*All Resource

*

None None
vs:MoveHiveEdgeWorkers MoveHiveEdgeWorkers update

*All Resource

*

None None
vs:SyncCatalogs SyncCatalogs

*All Resource

*

None None
vs:StartRecordStream StartRecordStream update

*All Resource

*

None None
vs:ModifyDirectory ModifyDirectory update

*All Resource

*

None None
vs:DescribeVsDomainDetail DescribeVsDomainDetail get

*All Resource

*

None None
vs:DescribeRenderingInstance DescribeRenderingInstance get

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:DeletePreset DeletePreset delete

*All Resource

*

None None
vs:BatchUnbindPurchasedDevices BatchUnbindPurchasedDevices

*All Resource

*

None None
vs:DescribeVsCertificateDetail DescribeVsCertificateDetail get

*All Resource

*

None None
vs:ListCloudAppInstallations ListCloudAppInstallations list

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:CreateRenderingDataPackage CreateRenderingDataPackage none

*All Resource

*

None None
vs:UploadFile UploadFile none

*All Resource

*

None None
vs:DescribeRenderingSession DescribeRenderingSession get

*All Resource

*

None None
vs:DescribeVsDomainBpsData DescribeVsDomainBpsData get

*All Resource

*

None None
vs:DeleteComfyProduction DeleteComfyProduction delete

*All Resource

*

None None
vs:ModifyDevice ModifyDevice update

*All Resource

*

None None
vs:BatchDeleteVsDomainConfigs BatchDeleteVsDomainConfigs

*All Resource

*

None None
vs:StopMove StopMove update

*All Resource

*

None None
vs:DescribeComfyProductionDownloadUrl DescribeComfyProductionDownloadUrl get

*All Resource

*

None None
vs:DescribeDevices DescribeDevices get

*All Resource

*

None None
vs:ModifyDeviceCapture ModifyDeviceCapture update

*All Resource

*

None None
vs:AddHiveEdgeWorkers AddHiveEdgeWorkers update

*All Resource

*

None None
vs:ContinuousAdjust ContinuousAdjust

*All Resource

*

None None
vs:SetPreset SetPreset update

*All Resource

*

None None
vs:DescribeVsDomainConfigs DescribeVsDomainConfigs get

*All Resource

*

None None
vs:ListRenderingInstances ListRenderingInstances none

*Crs

acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}

None None
vs:UnbindPurchasedDevice UnbindPurchasedDevice

*All Resource

*

None None
vs:DeleteTemplate DeleteTemplate delete

*All Resource

*

None None
vs:ResetRenderingInstance ResetRenderingInstance none

*All Resource

*

None None
vs:UpdateVsPullStreamInfoConfig UpdateVsPullStreamInfoConfig update

*All Resource

*

None None
vs:DescribeVsDomainPvUvData DescribeVsDomainPvUvData get

*All Resource

*

None None
vs:DeleteGroup DeleteGroup delete

*All Resource

*

None None
vs:BatchBindTemplates BatchBindTemplates

*All Resource

*

None None
vs:ListPublicKeys ListPublicKeys list

*All Resource

*

None None
vs:ListFiles ListFiles list

*All Resource

*

None None

Resource

The following table lists the resources defined by Visual Edge Computing Service. Specify them in the Resource element of RAM policy statements to grant permissions for specific operations. They are uniquely identified by ARNs. Format: acs:{#ramcode}:{#regionId}:{#accountId}:{#resourceType}:

  • acs: The initialism of Alibaba Cloud service, which indicates the public cloud of Alibaba Cloud.

  • {#ramcode}: The code used in RAM to indicate an Alibaba Cloud service.

  • {#regionId}: The region ID. If the resource covers all regions, set it to an asterisk (*).

  • {#accountId}: The ID of the Alibaba Cloud account. If the resource covers all Alibaba Cloud accounts, set it to an asterisk (*).

  • {#resourceType}: The service-defined resource identifier. It supports a hierarchical structure, which is similar to a file path. If the statement covers global resources, set it to an asterisk (*).

Resource type

ARN

Crs
  • acs:videosurveillancesystem::{#AccountId}:crs/{#CrsId}
  • acs:vs::{#accountId}:crs/*
  • acs:vs::{#accountId}:crs/{#CrsId}

Condition

Visual Edge Computing Service does not define product-level condition keys. However, you can use Alibaba Cloud common condition keys for access control. For more information, see Common condition keys.

How to create custom RAM policies?

You can create custom policies and grant them to RAM users, RAM user groups, or RAM roles. For instructions, see: