Resource Access Management (RAM) is a service provided by Alibaba Cloud to manage user identities and resource access permissions. You can use RAM to prevent RAM users from sharing the AccessKey pairs of your Alibaba Cloud account. You can also use RAM to grant minimum permissions to RAM users. RAM uses policies to define permissions.
This topic describes the elements, such as Action, Resource, and Condition, which are defined by ICE. You can use the elements to create policies in RAM. The code (RamCode) in RAM that is used to indicate ICE is [{"popCode":"ICE","ramCodes":["ice"]}]. You can grant permissions on ICE at the OPERATION.
General structure of a policy
Policies can be stored as JSON files. The following code provides an example on the general structure of a policy:
{
"Version": "1",
"Statement": [
{
"Effect": "<Effect>",
"Action": "<Action>",
"Resource": "<Resource>",
"Condition": {
"<Condition_operator>": {
"<Condition_key>": [
"<Condition_value>"
]
}
}
}
]
}
- Effect: specifies the authorization effect. Valid values: Allow, Deny.
- Action: specifies one or more API operations that are allowed or denied. For more information, see the Action section of this topic.
- Resource: specifies one or more resources to which the policy applies. You can use an Alibaba Cloud Resource Name (ARN) to specify a resource. For more information, see the Resource section of this topic.
- Condition: specifies one or more conditions that are required for the policy to take effect. This is an optional field. For more information, see the Condition section of this topic.
- Condition_operator: specifies the conditional operators. Different types of conditions support different conditional operators. For more information, see Policy elements.
- Condition_key: specifies the condition keys.
- Condition_value: specifies the condition values.
Action
ICE defines the values that you can use in theAction
element of a policy statement. The following table describes the values.- Operation: the value that you can use in the Action element to specify the operation on a resource.
- API operation: the API operation that you can call to perform the operation.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition key: the condition keys that are defined by the Alibaba Cloud service. The Condition key column does not list the common condition keys that are defined by Alibaba Cloud. For more information about the common condition keys, see Generic Condition Keyword.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Actions | API operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|---|
ice:DeleteDNADB | DeleteDNADB | All Resources * | None | None | |
ice:SubmitStandardCustomizedVoiceJob | SubmitStandardCustomizedVoiceJob | create | All Resources * | None | None |
ice:UpdateEditingProject | UpdateEditingProject | All Resources * | None | None | |
ice:ListCustomizedVoices | ListCustomizedVoices | list | All Resources * | None | None |
ice:ListMediaProducingJobs | ListMediaProducingJobs | list | All Resources * | None | None |
ice:SetDefaultCustomTemplate | SetDefaultCustomTemplate | All Resources * | None | None | |
ice:ListAvatarTrainingJobs | ListAvatarTrainingJobs | list | All Resources * | None | None |
ice:SubmitBatchMediaProducingJob | SubmitBatchMediaProducingJob | create | All Resources * | None | None |
ice:SubmitSmarttagJob | SubmitSmarttagJob | All Resources * | None | None | |
ice:SearchMediaClipByFace | SearchMediaClipByFace | get | All Resources * | None | None |
ice:CreateUploadMedia | CreateUploadMedia | create | All Resources * | None | None |
ice:UpdateCustomTemplate | UpdateCustomTemplate | All Resources * | None | None | |
ice:QuerySmarttagJob | QuerySmarttagJob | All Resources * | None | None | |
ice:CreateAvatarTrainingJob | CreateAvatarTrainingJob | create | All Resources * | None | None |
ice:DeleteEditingProjectMaterials | DeleteEditingProjectMaterials | All Resources * | None | None | |
ice:DescribeMeterImsMediaConvertUsage | DescribeMeterImsMediaConvertUsage | none | All Resources * | None | None |
ice:GetMediaProducingJob | GetMediaProducingJob | get | All Resources * | None | None |
ice:DecryptKMSDataKey | DecryptKMSDataKey | All Resources * | None | None | |
ice:GetAvatar | GetAvatar | get | All Resources * | None | None |
ice:AddMediaMarks | AddMediaMarks | All Resources * | None | None | |
ice:SetEventCallback | SetEventCallback | update | All Resources * | None | None |
ice:GetCategories | GetCategories | All Resources * | None | None | |
ice:GetVideoList | GetVideoList | All Resources * | None | None | |
ice:ListDynamicImageJobs | ListDynamicImageJobs | All Resources * | None | None | |
ice:GetCustomizedVoice | GetCustomizedVoice | list | All Resources * | None | None |
ice:SubmitSportsHighlightsJob | SubmitSportsHighlightsJob | create | All Resources * | None | None |
ice:ListMediaMarks | ListMediaMarks | All Resources * | None | None | |
ice:CreateLiveSnapshotTemplate | CreateLiveSnapshotTemplate | All Resources * | None | None | |
ice:GetTranscodeJob | GetTranscodeJob | All Resources * | None | None | |
ice:CreateAudit | CreateAudit | update | All Resources * | None | None |
ice:SubmitVideoTranslationJob | SubmitVideoTranslationJob | none | All Resources * | None | None |
ice:DeleteTemplate | DeleteTemplate | All Resources * | None | None | |
ice:SubmitIProductionJob | SubmitIProductionJob | create | All Resources * | None | None |
ice:SubmitTextGenerateJob | SubmitTextGenerateJob | create | All Resources * | None | None |
ice:ListMediaInfoJobs | ListMediaInfoJobs | All Resources * | None | None | |
ice:DeleteLiveRecordTemplate | DeleteLiveRecordTemplate | All Resources * | None | None | |
ice:UpdateLiveTranscodeJob | UpdateLiveTranscodeJob | All Resources * | None | None | |
ice:GetSnapshotUrls | GetSnapshotUrls | All Resources * | None | None | |
ice:ListEditingProjects | ListEditingProjects | list | All Resources * | None | None |
ice:DropSearchLib | DropSearchLib | All Resources * | None | None | |
ice:ListLiveSnapshotTemplates | ListLiveSnapshotTemplates | All Resources * | None | None | |
ice:AlterSearchIndex | AlterSearchIndex | All Resources * | None | None | |
ice:SubmitPackageJob | SubmitPackageJob | All Resources * | None | None | |
ice:GetDynamicImageJob | GetDynamicImageJob | All Resources * | None | None | |
ice:DescribeMeterImsEditUsage | DescribeMeterImsEditUsage | none | All Resources * | None | None |
ice:UpdateAvatarTrainingJob | UpdateAvatarTrainingJob | update | All Resources * | None | None |
ice:CreatePipeline | CreatePipeline | All Resources * | None | None | |
ice:GetWorkflowTask | GetWorkflowTask | get | All Resources * | None | None |
ice:RegisterMediaStream | RegisterMediaStream | create | All Resources * | None | None |
ice:ListLiveSnapshotFiles | ListLiveSnapshotFiles | All Resources * | None | None | |
ice:SubmitDNAJob | SubmitDNAJob | All Resources * | None | None | |
ice:SendLiveTranscodeJobCommand | SendLiveTranscodeJobCommand | All Resources * | None | None | |
ice:GetBatchMediaProducingJob | GetBatchMediaProducingJob | get | All Resources * | None | None |
ice:GetMediaInfoJob | GetMediaInfoJob | All Resources * | None | None | |
ice:SearchEditingProject | SearchEditingProject | All Resources * | None | None | |
ice:GenerateKMSDataKey | GenerateKMSDataKey | All Resources * | None | None | |
ice:ListSmartSysAvatarModels | ListSmartSysAvatarModels | list | All Resources * | None | None |
ice:ListCustomTemplates | ListCustomTemplates | list | All Resources * | None | None |
ice:CreateDNADB | CreateDNADB | All Resources * | None | None | |
ice:ListLiveRecordJobs | ListLiveRecordJobs | All Resources * | None | None | |
ice:QueryMediaCensorJobDetail | QueryMediaCensorJobDetail | get | All Resources * | None | None |
ice:DescribeMeterImsSummary | DescribeMeterImsSummary | none | All Resources * | None | None |
ice:SubmitMediaProducingJob | SubmitMediaProducingJob | All Resources * | None | None | |
ice:RegisterMediaInfo | RegisterMediaInfo | create | All Resources * | None | None |
ice:ListSmartJobs | ListSmartJobs | All Resources * | None | None | |
ice:ListLiveTranscodeJobs | ListLiveTranscodeJobs | All Resources * | None | None | |
ice:UpdateCustomizedVoice | UpdateCustomizedVoice | update | All Resources * | None | None |
ice:CreateLiveTranscodeTemplate | CreateLiveTranscodeTemplate | All Resources * | None | None | |
ice:AddCategory | AddCategory | All Resources * | None | None | |
ice:GetSmartHandleJob | GetSmartHandleJob | All Resources * | None | None | |
ice:SearchIndexJobRerun | SearchIndexJobRerun | update | All Resources * | None | None |
ice:CancelDNAJob | CancelDNAJob | All Resources * | None | None | |
ice:GetUrlUploadInfos | GetUrlUploadInfos | get | All Resources * | None | None |
ice:QueryMediaCensorJobList | QueryMediaCensorJobList | get | All Resources * | None | None |
ice:GetEditingProjectMaterials | GetEditingProjectMaterials | All Resources * | None | None | |
ice:SubmitAvatarTrainingJob | SubmitAvatarTrainingJob | create | All Resources * | None | None |
ice:UpdateMediaToSearchLib | UpdateMediaToSearchLib | All Resources * | None | None | |
ice:BatchGetMediaInfos | BatchGetMediaInfos | All Resources * | None | None | |
ice:UpdateLiveSnapshotTemplate | UpdateLiveSnapshotTemplate | All Resources * | None | None | |
ice:SearchMediaByMultimodal | SearchMediaByMultimodal | All Resources * | None | None | |
ice:ListCustomizedVoiceJobs | ListCustomizedVoiceJobs | list | All Resources * | None | None |
ice:GetLiveEditingIndexFile | GetLiveEditingIndexFile | All Resources * | None | None | |
ice:CreateSearchIndex | CreateSearchIndex | All Resources * | None | None | |
ice:SubmitMediaAiAnalysisJob | SubmitMediaAiAnalysisJob | update | All Resources * | None | None |
ice:ListDNAFiles | ListDNAFiles | All Resources * | None | None | |
ice:DeleteCustomTemplate | DeleteCustomTemplate | All Resources * | None | None | |
ice:UpdateLiveRecordTemplate | UpdateLiveRecordTemplate | All Resources * | None | None | |
ice:GetAvatarTrainingJob | GetAvatarTrainingJob | get | All Resources * | None | None |
ice:GetCustomizedVoiceJob | GetCustomizedVoiceJob | get | All Resources * | None | None |
ice:DeleteMediaMarks | DeleteMediaMarks | All Resources * | None | None | |
ice:ListTemplates | ListTemplates | All Resources * | None | None | |
ice:DeleteCustomizedVoiceJob | DeleteCustomizedVoiceJob | delete | All Resources * | None | None |
ice:ListPipelines | ListPipelines | All Resources * | None | None | |
ice:CreateLiveRecordTemplate | CreateLiveRecordTemplate | All Resources * | None | None | |
ice:SubmitAudioProduceJob | SubmitAudioProduceJob | All Resources * | None | None | |
ice:StartWorkflow | StartWorkflow | create | All Resources * | None | None |
ice:GetMediaInfo | GetMediaInfo | get | All Resources * | None | None |
ice:UpdateTemplate | UpdateTemplate | All Resources * | None | None | |
ice:GetPipeline | GetPipeline | All Resources * | None | None | |
ice:SubmitTranscodeJob | SubmitTranscodeJob | All Resources * | None | None | |
ice:SearchMediaByFace | SearchMediaByFace | get | All Resources * | None | None |
ice:SubmitASRJob | SubmitASRJob | All Resources * | None | None | |
ice:GetTemplate | GetTemplate | All Resources * | None | None | |
ice:GetCustomTemplate | GetCustomTemplate | get | All Resources * | None | None |
ice:ListPackageJobs | ListPackageJobs | All Resources * | None | None | |
ice:DeleteCategory | DeleteCategory | All Resources * | None | None | |
ice:ListTranscodeJobs | ListTranscodeJobs | All Resources * | None | None | |
ice:DeleteMediaInfos | DeleteMediaInfos | All Resources * | None | None | |
ice:ListLiveSnapshotJobs | ListLiveSnapshotJobs | All Resources * | None | None | |
ice:SearchMediaByAILabel | SearchMediaByAILabel | get | All Resources * | None | None |
ice:UpdateMediaMarks | UpdateMediaMarks | All Resources * | None | None | |
ice:CreateEditingProject | CreateEditingProject | All Resources * | None | None | |
ice:SubmitSyncMediaInfoJob | SubmitSyncMediaInfoJob | create | All Resources * | None | None |
ice:UpdateMediaInfo | UpdateMediaInfo | All Resources * | None | None | |
ice:UploadMediaByURL | UploadMediaByURL | create | All Resources * | None | None |
ice:ListSystemTemplates | ListSystemTemplates | All Resources * | None | None | |
ice:GetPackageJob | GetPackageJob | All Resources * | None | None | |
ice:SubmitSnapshotJob | SubmitSnapshotJob | All Resources * | None | None | |
ice:ListLiveRecordFiles | ListLiveRecordFiles | All Resources * | None | None | |
ice:SubmitCustomizedVoiceJob | SubmitCustomizedVoiceJob | create | All Resources * | None | None |
ice:SubmitLiveEditingJob | SubmitLiveEditingJob | All Resources * | None | None | |
ice:ListAvatars | ListAvatars | list | All Resources * | None | None |
ice:ListMediaBasicInfos | ListMediaBasicInfos | All Resources * | None | None | |
ice:CreateCustomizedVoiceJob | CreateCustomizedVoiceJob | create | All Resources * | None | None |
ice:DeletePipeline | DeletePipeline | All Resources * | None | None | |
ice:DescribeMeterImsMpsAiUsage | DescribeMeterImsMpsAiUsage | none | All Resources * | None | None |
ice:InsertMediaToSearchLib | InsertMediaToSearchLib | All Resources * | None | None | |
ice:SearchMedia | SearchMedia | get | All Resources * | None | None |
ice:UpdateLiveTranscodeTemplate | UpdateLiveTranscodeTemplate | All Resources * | None | None | |
ice:AddEditingProjectMaterials | AddEditingProjectMaterials | All Resources * | None | None | |
ice:SubmitLiveRecordJob | SubmitLiveRecordJob | All Resources * | None | None | |
ice:DeleteSmartJob | DeleteSmartJob | All Resources * | None | None | |
ice:DeleteEditingProjects | DeleteEditingProjects | All Resources * | None | None | |
ice:ListSmartVoiceGroups | ListSmartVoiceGroups | list | All Resources * | None | None |
ice:ListSnapshotJobs | ListSnapshotJobs | All Resources * | None | None | |
ice:CreateUploadStream | CreateUploadStream | create | All Resources * | None | None |
ice:GetEventCallback | GetEventCallback | get | All Resources * | None | None |
ice:ListLiveRecordTemplates | ListLiveRecordTemplates | All Resources * | None | None | |
ice:DetectAudioForCustomizedVoiceJob | DetectAudioForCustomizedVoiceJob | get | All Resources * | None | None |
ice:SubmitLiveTranscodeJob | SubmitLiveTranscodeJob | All Resources * | None | None | |
ice:ListLiveTranscodeTemplates | ListLiveTranscodeTemplates | All Resources * | None | None | |
ice:SendLiveSnapshotJobCommand | SendLiveSnapshotJobCommand | All Resources * | None | None | |
ice:DeleteDNAFiles | DeleteDNAFiles | All Resources * | None | None | |
ice:QuerySearchLib | QuerySearchLib | All Resources * | None | None | |
ice:GetSystemTemplate | GetSystemTemplate | All Resources * | None | None | |
ice:GetTemplateParams | GetTemplateParams | All Resources * | None | None | |
ice:QueryMediaIndexJob | QueryMediaIndexJob | All Resources * | None | None | |
ice:DescribeMeterImsMediaConvertUHDUsage | DescribeMeterImsMediaConvertUHDUsage | none | All Resources * | None | None |
ice:DeleteLiveTranscodeTemplate | DeleteLiveTranscodeTemplate | All Resources * | None | None | |
ice:UpdatePipeline | UpdatePipeline | All Resources * | None | None | |
ice:DeleteMediaFromSearchLib | DeleteMediaFromSearchLib | All Resources * | None | None | |
ice:GetMediaMarks | GetMediaMarks | All Resources * | None | None | |
ice:SubmitDynamicImageJob | SubmitDynamicImageJob | All Resources * | None | None | |
ice:QueryDNAJobList | QueryDNAJobList | All Resources * | None | None | |
ice:DeleteLiveTranscodeJob | DeleteLiveTranscodeJob | All Resources * | None | None | |
ice:RefreshUploadMedia | RefreshUploadMedia | create | All Resources * | None | None |
ice:UpdateCategory | UpdateCategory | All Resources * | None | None | |
ice:DeleteLiveSnapshotFiles | DeleteLiveSnapshotFiles | All Resources * | None | None | |
ice:SubmitMediaInfoJob | SubmitMediaInfoJob | All Resources * | None | None | |
ice:DeletePlayInfo | DeletePlayInfo | delete | All Resources * | None | None |
ice:CreateSearchLib | CreateSearchLib | All Resources * | None | None | |
ice:CreateCustomTemplate | CreateCustomTemplate | All Resources * | None | None | |
ice:UploadStreamByURL | UploadStreamByURL | create | All Resources * | None | None |
ice:ListDNADB | ListDNADB | none | All Resources * | None | None |
ice:DeleteLiveSnapshotTemplate | DeleteLiveSnapshotTemplate | All Resources * | None | None | |
ice:DeleteAvatarTrainingJob | DeleteAvatarTrainingJob | delete | All Resources * | None | None |
ice:GetPlayInfo | GetPlayInfo | get | All Resources * | None | None |
ice:GetDemonstrationForCustomizedVoiceJob | GetDemonstrationForCustomizedVoiceJob | list | All Resources * | None | None |
ice:DropSearchIndex | DropSearchIndex | All Resources * | None | None | |
ice:QuerySearchIndex | QuerySearchIndex | All Resources * | None | None | |
ice:DeleteLiveRecordFiles | DeleteLiveRecordFiles | All Resources * | None | None | |
ice:AddTemplate | AddTemplate | All Resources * | None | None | |
ice:SubmitMediaCensorJob | SubmitMediaCensorJob | create | All Resources * | None | None |
ice:GetLiveTranscodeJob | GetLiveTranscodeJob | All Resources * | None | None | |
ice:QueryIProductionJob | QueryIProductionJob | All Resources * | None | None | |
ice:GetLiveSnapshotTemplate | GetLiveSnapshotTemplate | All Resources * | None | None | |
ice:GetLiveSnapshotJob | GetLiveSnapshotJob | All Resources * | None | None | |
ice:GetLiveRecordJob | GetLiveRecordJob | All Resources * | None | None | |
ice:ListBatchMediaProducingJobs | ListBatchMediaProducingJobs | list | All Resources * | None | None |
ice:ListSearchLib | ListSearchLib | list | All Resources * | None | None |
ice:GetLiveEditingJob | GetLiveEditingJob | All Resources * | None | None | |
ice:SubmitLiveSnapshotJob | SubmitLiveSnapshotJob | All Resources * | None | None | |
ice:GetTemplateMaterials | GetTemplateMaterials | All Resources * | None | None | |
ice:GetLiveRecordTemplate | GetLiveRecordTemplate | All Resources * | None | None | |
ice:GetSnapshotJob | GetSnapshotJob | All Resources * | None | None | |
ice:GetEditingProject | GetEditingProject | All Resources * | None | None | |
ice:GetLiveTranscodeTemplate | GetLiveTranscodeTemplate | All Resources * | None | None |
Resource
In ICE, you cannot specify an ARN in the
Resource
element in a policy statement. If you want to authorize a RAM user or a RAM role to access ICE, you cannot specify an ARN in the "Resource": "*"
.Condition
ICE does not define service-specific condition keys. For more information about common condition keys that are defined by Alibaba Cloud, see Generic Condition Keyword.