View a markdown version of this page

AWS Storage Gateway 的動作、資源和條件索引鍵 - 服務授權參考

AWS Storage Gateway 的動作、資源和條件索引鍵

AWS Storage Gateway (服務字首:storagegateway) 提供下列服務特定的操作、資源、動作和條件索引鍵,可用於 IAM 許可政策。

參考資料:

AWS Storage Gateway 定義的 API 操作

下表將 API 操作映射至其授權的 IAM 動作。只會列出具有指定 API 和動作靜態值的條件金鑰;如需每個動作支援的完整條件金鑰集,請參閱動作表格。

作業 IAM 動作 條件鍵 可能的值 (s) 存取層級

ActivateGateway

storagegateway:ActivateGateway

寫入

storagegateway:AddTagsToResource

標記、寫入

AddCache

storagegateway:AddCache

寫入

AddTagsToResource

storagegateway:AddTagsToResource

標記、寫入

AddUploadBuffer

storagegateway:AddUploadBuffer

寫入

AddWorkingStorage

storagegateway:AddWorkingStorage

寫入

AssignTapePool

storagegateway:AssignTapePool

寫入

storagegateway:BypassGovernanceRetention

寫入

AssociateFileSystem

storagegateway:AddTagsToResource

標記、寫入

storagegateway:AssociateFileSystem

寫入

AttachVolume

storagegateway:AttachVolume

寫入

CancelArchival

storagegateway:CancelArchival

寫入

CancelCacheReport

storagegateway:CancelCacheReport

寫入

CancelRetrieval

storagegateway:CancelRetrieval

寫入

CreateCachediSCSIVolume

storagegateway:AddTagsToResource

標記、寫入

storagegateway:CreateCachediSCSIVolume

寫入

CreateNFSFileShare

storagegateway:AddTagsToResource

標記、寫入

storagegateway:CreateNFSFileShare

寫入

iam:PassRole

寫入

CreateSMBFileShare

storagegateway:AddTagsToResource

標記、寫入

storagegateway:CreateSMBFileShare

寫入

iam:PassRole

寫入

CreateSnapshot

storagegateway:CreateSnapshot

寫入

CreateSnapshotFromVolumeRecoveryPoint

storagegateway:CreateSnapshotFromVolumeRecoveryPoint

寫入

CreateStorediSCSIVolume

storagegateway:AddTagsToResource

標記、寫入

storagegateway:CreateStorediSCSIVolume

寫入

CreateTapePool

storagegateway:AddTagsToResource

標記、寫入

storagegateway:CreateTapePool

寫入

CreateTapeWithBarcode

storagegateway:AddTagsToResource

標記、寫入

storagegateway:CreateTapeWithBarcode

寫入

CreateTapes

storagegateway:AddTagsToResource

標記、寫入

storagegateway:CreateTapes

寫入

DeleteAutomaticTapeCreationPolicy

storagegateway:DeleteAutomaticTapeCreationPolicy

寫入

DeleteBandwidthRateLimit

storagegateway:DeleteBandwidthRateLimit

寫入

DeleteCacheReport

storagegateway:DeleteCacheReport

寫入

DeleteChapCredentials

storagegateway:DeleteChapCredentials

寫入

DeleteFileShare

storagegateway:DeleteFileShare

寫入

DeleteGateway

storagegateway:DeleteGateway

寫入

DeleteSnapshotSchedule

storagegateway:DeleteSnapshotSchedule

寫入

DeleteTape

storagegateway:DeleteTape

寫入

DeleteTapeArchive

storagegateway:BypassGovernanceRetention

寫入

storagegateway:DeleteTapeArchive

寫入

DeleteTapePool

storagegateway:DeleteTapePool

寫入

DeleteVolume

storagegateway:DeleteVolume

寫入

DescribeAvailabilityMonitorTest

storagegateway:DescribeAvailabilityMonitorTest

讀取

DescribeBandwidthRateLimit

storagegateway:DescribeBandwidthRateLimit

讀取

DescribeBandwidthRateLimitSchedule

storagegateway:DescribeBandwidthRateLimitSchedule

讀取

DescribeCache

storagegateway:DescribeCache

讀取

DescribeCacheReport

storagegateway:DescribeCacheReport

讀取

DescribeCachediSCSIVolumes

storagegateway:DescribeCachediSCSIVolumes

讀取

DescribeChapCredentials

storagegateway:DescribeChapCredentials

讀取

DescribeFileSystemAssociations

storagegateway:DescribeFileSystemAssociations

讀取

DescribeGatewayInformation

storagegateway:DescribeGatewayInformation

讀取

DescribeMaintenanceStartTime

storagegateway:DescribeMaintenanceStartTime

讀取

DescribeNFSFileShares

storagegateway:DescribeNFSFileShares

讀取

DescribeSMBFileShares

storagegateway:DescribeSMBFileShares

讀取

DescribeSMBSettings

storagegateway:DescribeSMBSettings

讀取

DescribeSnapshotSchedule

storagegateway:DescribeSnapshotSchedule

讀取

DescribeStorediSCSIVolumes

storagegateway:DescribeStorediSCSIVolumes

讀取

DescribeTapeArchives

storagegateway:DescribeTapeArchives

讀取

DescribeTapeRecoveryPoints

storagegateway:DescribeTapeRecoveryPoints

讀取

DescribeTapes

storagegateway:DescribeTapes

讀取

DescribeUploadBuffer

storagegateway:DescribeUploadBuffer

讀取

DescribeVTLDevices

storagegateway:DescribeVTLDevices

讀取

DescribeWorkingStorage

storagegateway:DescribeWorkingStorage

讀取

DetachVolume

storagegateway:DetachVolume

寫入

DisableGateway

storagegateway:DisableGateway

寫入

DisassociateFileSystem

storagegateway:DisassociateFileSystem

寫入

EvictFilesFailingUpload

storagegateway:EvictFilesFailingUpload

寫入

JoinDomain

storagegateway:JoinDomain

寫入

ListAutomaticTapeCreationPolicies

storagegateway:ListAutomaticTapeCreationPolicies

清單

ListCacheReports

storagegateway:ListCacheReports

清單

ListFileShares

storagegateway:ListFileShares

清單

ListFileSystemAssociations

storagegateway:ListFileSystemAssociations

清單

ListGateways

storagegateway:ListGateways

清單

ListLocalDisks

storagegateway:ListLocalDisks

清單

ListTagsForResource

storagegateway:ListTagsForResource

清單

ListTapePools

storagegateway:ListTapePools

清單

ListTapes

storagegateway:ListTapes

清單

ListVolumeInitiators

storagegateway:ListVolumeInitiators

清單

ListVolumeRecoveryPoints

storagegateway:ListVolumeRecoveryPoints

清單

ListVolumes

storagegateway:ListVolumes

清單

NotifyWhenUploaded

storagegateway:NotifyWhenUploaded

寫入

RefreshCache

storagegateway:RefreshCache

寫入

RemoveTagsFromResource

storagegateway:RemoveTagsFromResource

標記、寫入

ResetCache

storagegateway:ResetCache

寫入

RetrieveTapeArchive

storagegateway:RetrieveTapeArchive

寫入

RetrieveTapeRecoveryPoint

storagegateway:RetrieveTapeRecoveryPoint

寫入

SetLocalConsolePassword

storagegateway:SetLocalConsolePassword

寫入

SetSMBGuestPassword

storagegateway:SetSMBGuestPassword

寫入

ShutdownGateway

storagegateway:ShutdownGateway

寫入

StartAvailabilityMonitorTest

storagegateway:StartAvailabilityMonitorTest

寫入

StartCacheReport

storagegateway:AddTagsToResource

標記、寫入

storagegateway:StartCacheReport

寫入

iam:PassRole

寫入

StartGateway

storagegateway:StartGateway

寫入

UpdateAutomaticTapeCreationPolicy

storagegateway:UpdateAutomaticTapeCreationPolicy

寫入

UpdateBandwidthRateLimit

storagegateway:UpdateBandwidthRateLimit

寫入

UpdateBandwidthRateLimitSchedule

storagegateway:UpdateBandwidthRateLimitSchedule

寫入

UpdateChapCredentials

storagegateway:UpdateChapCredentials

寫入

UpdateFileSystemAssociation

storagegateway:UpdateFileSystemAssociation

寫入

UpdateGatewayInformation

storagegateway:UpdateGatewayInformation

寫入

UpdateGatewaySoftwareNow

storagegateway:UpdateGatewaySoftwareNow

寫入

UpdateMaintenanceStartTime

storagegateway:UpdateMaintenanceStartTime

寫入

UpdateNFSFileShare

storagegateway:UpdateNFSFileShare

寫入

UpdateSMBFileShare

storagegateway:UpdateSMBFileShare

寫入

UpdateSMBFileShareVisibility

storagegateway:UpdateSMBFileShareVisibility

寫入

UpdateSMBLocalGroups

storagegateway:UpdateSMBLocalGroups

寫入

UpdateSMBSecurityStrategy

storagegateway:UpdateSMBSecurityStrategy

寫入

UpdateSnapshotSchedule

storagegateway:UpdateSnapshotSchedule

寫入

UpdateVTLDeviceType

storagegateway:UpdateVTLDeviceType

寫入

AWS Storage Gateway定義的動作

您可在 IAM 政策陳述式的 Action 元素中指定以下動作。使用政策來授予在 AWS中執行操作的許可。在政策中使用動作時,通常會允許或拒絕存取相同名稱的 API 操作或 CLI 命令。不過,在某些情況下,單一動作可控制對多個操作的存取。或者,某些操作需要多種不同的動作。

動作 說明 資源類型 (*必填項目) 條件索引鍵 存取層級

ActivateGateway

准許啟用之前在主機上部署的閘道

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

AddCache

准許將一個或多個閘道本機磁碟設定為快取磁碟區閘道的快取

閘道*

aws:ResourceTag/${TagKey}

寫入

AddTagsToResource

准許將一或多個標籤新增到指定的資源

cache-report

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

fs-association

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

閘道

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

共用

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

磁帶

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

磁帶集區

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

磁碟區

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

AddUploadBuffer

准許將一個或多個閘道本機磁碟設定為指定閘道的上傳緩衝區

閘道*

aws:ResourceTag/${TagKey}

寫入

AddWorkingStorage

准許將一個或多個閘道本機磁碟設定為閘道的工作儲存體

閘道*

aws:ResourceTag/${TagKey}

寫入

AssignTapePool

准許將磁帶移至指定的目標集區

磁帶*

aws:ResourceTag/${TagKey}

寫入

磁帶集區*

aws:ResourceTag/${TagKey}

AssociateFileSystem

准許將 Amazon FSx 檔案系統與 Amazon FSx File Gateway 建立關聯

閘道*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

AttachVolume

准許將磁碟區連接到 iSCSI 連線,然後將磁碟區連接到指定的閘道

閘道*

aws:ResourceTag/${TagKey}

寫入

磁碟區*

aws:ResourceTag/${TagKey}

BypassGovernanceRetention

准許允許繞過集區上的控管保留鎖定

磁帶集區*

aws:ResourceTag/${TagKey}

寫入

CancelArchival

准許在存檔程序啟動之後,取消將虛擬磁帶封存到虛擬磁帶架 (VTS)

閘道*

aws:ResourceTag/${TagKey}

寫入

磁帶*

aws:ResourceTag/${TagKey}

CancelCacheReport

准許取消快取報告

cache-report*

aws:ResourceTag/${TagKey}

寫入

CancelRetrieval

准許在擷取程序啟動之後,取消將虛擬磁帶從虛擬磁帶架 (VTS) 擷取到閘道

閘道*

aws:ResourceTag/${TagKey}

寫入

磁帶*

aws:ResourceTag/${TagKey}

CreateCachediSCSIVolume

准許在指定的快取閘道上建立快取磁碟區。只有閘道快取的磁碟區架構才支援此操作

閘道*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

磁碟區*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

CreateNFSFileShare

准許在現有的檔案閘道上建立 NFS 檔案共享

閘道*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateSMBFileShare

准許在現有的檔案閘道上建立 SMB 檔案共享

閘道*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateSnapshot

准許啟動磁碟區的快照

磁碟區*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateSnapshotFromVolumeRecoveryPoint

准許從磁碟區復原點啟動閘道的快照

磁碟區*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateStorediSCSIVolume

准許在指定閘道上建立磁碟區

閘道*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

CreateTapePool

准許建立磁帶集區

aws:RequestTag/${TagKey}

aws:TagKeys

寫入

CreateTapeWithBarcode

准許使用您自己的條碼建立虛擬磁帶

閘道*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

磁帶集區*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

CreateTapes

准許建立一個或多個虛擬磁帶。您會將資料寫入虛擬磁帶,然後封存磁帶

閘道*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

磁帶集區*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

DeleteAutomaticTapeCreationPolicy

准許刪除閘道 VTL 上設定的自動磁帶建立政策

閘道*

aws:ResourceTag/${TagKey}

寫入

DeleteBandwidthRateLimit

准許刪除閘道頻寬速率限制

閘道*

aws:ResourceTag/${TagKey}

寫入

DeleteCacheReport

准許刪除與快取報告相關聯的中繼資料

cache-report*

aws:ResourceTag/${TagKey}

寫入

DeleteChapCredentials

准許針對指定的一對 iSCSI 目標和啟動器,刪除 Challenge Handshake 驗證通訊協定 (CHAP) 登入資料

target*

aws:ResourceTag/${TagKey}

寫入

DeleteFileShare

准許從檔案閘道中刪除檔案共享

share*

aws:ResourceTag/${TagKey}

寫入

DeleteGateway

准許刪除閘道

閘道*

aws:ResourceTag/${TagKey}

寫入

DeleteSnapshotSchedule

准許刪除磁碟區的快照

磁碟區*

aws:ResourceTag/${TagKey}

寫入

DeleteTape

准許刪除指定的虛擬磁帶

閘道*

aws:ResourceTag/${TagKey}

寫入

磁帶*

aws:ResourceTag/${TagKey}

DeleteTapeArchive

准許從虛擬磁帶架 (VTS) 刪除指定的虛擬磁帶

寫入

DeleteTapePool

准許刪除指定的磁帶集區

磁帶集區*

aws:ResourceTag/${TagKey}

寫入

DeleteVolume

准許刪除您之前使用 CreateCachediSCSIVolume 或 CreateStorediSCSIVolume API 建立的特定閘道磁碟區

磁碟區*

aws:ResourceTag/${TagKey}

寫入

DescribeAvailabilityMonitorTest

准許取得在閘道上執行的最新高可用性監控測試的相關資訊

閘道*

aws:ResourceTag/${TagKey}

讀取

DescribeBandwidthRateLimit

准許取得閘道的頻寬速率限制

閘道*

aws:ResourceTag/${TagKey}

讀取

DescribeBandwidthRateLimitSchedule

准許取得閘道的頻寬速率限制排程

閘道*

aws:ResourceTag/${TagKey}

讀取

DescribeCache

准許取得閘道的快取相關資訊。只有閘道快取的磁碟區架構才支援此操作

閘道*

aws:ResourceTag/${TagKey}

讀取

DescribeCacheReport

准許取得快取報告的描述

cache-report*

aws:ResourceTag/${TagKey}

讀取

DescribeCachediSCSIVolumes

准許取得請求中指定的閘道磁碟區說明。只有閘道快取的磁碟區架構才支援此操作

磁碟區*

aws:ResourceTag/${TagKey}

讀取

DescribeChapCredentials

准許針對指定的 iSCSI 目標,取得一系列 Challenge Handshake 驗證通訊協定 (CHAP) 登入資料,每一對目標-啟動器各一份登入資料

target*

aws:ResourceTag/${TagKey}

讀取

DescribeFileSystemAssociations

准許取得一或多個檔案系統關聯的描述

fs-association*

aws:ResourceTag/${TagKey}

讀取

DescribeGatewayInformation

准許取得閘道相關的中繼資料,例如其名稱、網路界面、設定的時區,以及狀態 (無論閘道是否在執行中)。

閘道*

aws:ResourceTag/${TagKey}

讀取

DescribeMaintenanceStartTime

准許取得閘道的每週維護開始時間,包括星期幾和時間。

閘道*

aws:ResourceTag/${TagKey}

讀取

DescribeNFSFileShares

准許從檔案閘道中取得一個或多個檔案共享描述

share*

aws:ResourceTag/${TagKey}

讀取

DescribeSMBFileShares

准許從檔案閘道中取得一個或多個檔案共享描述

share*

aws:ResourceTag/${TagKey}

讀取

DescribeSMBSettings

准許從檔案閘道取得伺服器訊息區塊 (SMB) 檔案共享設定的描述

閘道*

aws:ResourceTag/${TagKey}

讀取

DescribeSnapshotSchedule

准許描述指定閘道磁碟區的快照排程

磁碟區*

aws:ResourceTag/${TagKey}

讀取

DescribeStorediSCSIVolumes

准許取得請求中指定的閘道磁碟區說明

磁碟區*

aws:ResourceTag/${TagKey}

讀取

DescribeTapeArchives

准許取得虛擬磁帶架 (VTS) 中指定的虛擬磁帶描述

讀取

DescribeTapeRecoveryPoints

准許取得指定閘道-VTL 可用的虛擬磁帶復原點清單

閘道*

aws:ResourceTag/${TagKey}

讀取

DescribeTapes

准許取得虛擬磁帶的指定 Amazon Resource Name (ARN) 描述

閘道*

aws:ResourceTag/${TagKey}

讀取

DescribeUploadBuffer

准許取得閘道上傳緩衝區的相關資訊

閘道*

aws:ResourceTag/${TagKey}

讀取

DescribeVTLDevices

准許取得指定閘道的虛擬磁帶庫 (VTL) 裝置描述

閘道*

aws:ResourceTag/${TagKey}

讀取

DescribeWorkingStorage

准許取得閘道工作儲存體的相關資訊

閘道*

aws:ResourceTag/${TagKey}

讀取

DetachVolume

准許中斷磁碟區與 iSCSI 連線的連接,然後從指定的閘道分離磁碟區

磁碟區*

aws:ResourceTag/${TagKey}

寫入

DisableGateway

准許閘道不再運作時停用閘道

閘道*

aws:ResourceTag/${TagKey}

寫入

DisassociateFileSystem

准許取消 Amazon FSx 檔案系統與 Amazon FSx File Gateway 的關聯

fs-association*

aws:ResourceTag/${TagKey}

寫入

EvictFilesFailingUpload

准許清除無法上傳至 Amazon S3 的檔案項目的共享快取

share*

aws:ResourceTag/${TagKey}

寫入

JoinDomain

准許讓您加入 Active Directory 網域

閘道*

aws:ResourceTag/${TagKey}

寫入

ListAutomaticTapeCreationPolicies

准許列出在指定的閘道 VTL 或 擁有的所有閘道 VTLs上設定的自動磁帶建立政策 AWS 帳戶

清單

ListCacheReports

准許取得 擁有的快取報告清單 AWS 帳戶

清單

ListFileShares

准許取得特定檔案閘道的檔案共用清單,或 擁有的檔案共用清單 AWS 帳戶

清單

ListFileSystemAssociations

准許取得指定閘道之檔案系統關聯的清單

清單

ListGateways

准許列出請求中指定 AWS 帳戶 區域中 擁有的閘道。傳回的清單依閘道 Amazon Resource Name (ARN) 排序

清單

ListLocalDisks

准許取得閘道的本機磁碟清單

閘道*

aws:ResourceTag/${TagKey}

清單

ListTagsForResource

准許取得已新增至指定資源的標籤

閘道

aws:ResourceTag/${TagKey}

清單

共用

aws:ResourceTag/${TagKey}

磁帶

aws:ResourceTag/${TagKey}

磁碟區

aws:ResourceTag/${TagKey}

ListTapePools

准許列出 擁有的磁帶集區 AWS 帳戶

清單

ListTapes

准許列出虛擬磁帶庫 (VTL) 和虛擬磁帶架 (VTS) 中的虛擬磁帶

清單

ListVolumeInitiators

准許列出連線至磁碟區的 iSCSI 啟動器

磁碟區*

aws:ResourceTag/${TagKey}

清單

ListVolumeRecoveryPoints

准許列出指定閘道的復原點

閘道*

aws:ResourceTag/${TagKey}

清單

ListVolumes

准許列出閘道的 iSCSI 儲存磁碟區

清單

NotifyWhenUploaded

准許在所有寫入 NFS 檔案共享的檔案都已上傳到 Amazon S3 時,透過 CloudWatch Events 傳送通知給您

share*

aws:ResourceTag/${TagKey}

寫入

RefreshCache

准許重新整理指定檔案共享的快取

share*

aws:ResourceTag/${TagKey}

寫入

RemoveTagsFromResource

准許從指定的資源移除一或多個標籤

cache-report

aws:ResourceTag/${TagKey}

aws:TagKeys

標記、寫入

fs-association

aws:ResourceTag/${TagKey}

aws:TagKeys

閘道

aws:ResourceTag/${TagKey}

aws:TagKeys

共用

aws:ResourceTag/${TagKey}

aws:TagKeys

磁帶

aws:ResourceTag/${TagKey}

aws:TagKeys

磁帶集區

aws:ResourceTag/${TagKey}

aws:TagKeys

磁碟區

aws:ResourceTag/${TagKey}

aws:TagKeys

ResetCache

准許重設所有發生錯誤的快取磁碟,並允許將磁碟重新設定為快取儲存體

閘道*

aws:ResourceTag/${TagKey}

寫入

RetrieveTapeArchive

准許從虛擬磁帶架 (VTS) 擷取封存的虛擬磁帶至閘道 VTL

閘道*

aws:ResourceTag/${TagKey}

寫入

磁帶*

aws:ResourceTag/${TagKey}

RetrieveTapeRecoveryPoint

准許擷取指定虛擬磁帶的復原點

閘道*

aws:ResourceTag/${TagKey}

寫入

磁帶*

aws:ResourceTag/${TagKey}

SetLocalConsolePassword

准許設定 VM 本機主控台的密碼

閘道*

aws:ResourceTag/${TagKey}

寫入

SetSMBGuestPassword

准許設定 SMB 來賓使用者的密碼

閘道*

aws:ResourceTag/${TagKey}

寫入

ShutdownGateway

准許關閉閘道

閘道*

aws:ResourceTag/${TagKey}

寫入

StartAvailabilityMonitorTest

准許啟動測試,以驗證指定的閘道已設定為在您的主機環境中進行高可用性監控

閘道*

aws:ResourceTag/${TagKey}

寫入

StartCacheReport

准許啟動現有檔案共享的快取報告

share*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

StartGateway

准許啟動之前關閉的閘道

閘道*

aws:ResourceTag/${TagKey}

寫入

UpdateAutomaticTapeCreationPolicy

准許更新閘道 VTL 上設定的自動磁帶建立政策

閘道*

aws:ResourceTag/${TagKey}

寫入

磁帶集區*

aws:ResourceTag/${TagKey}

UpdateBandwidthRateLimit

准許更新閘道的頻寬速率限制

閘道*

aws:ResourceTag/${TagKey}

寫入

UpdateBandwidthRateLimitSchedule

准許更新閘道的頻寬速率限制排程

閘道*

aws:ResourceTag/${TagKey}

寫入

UpdateChapCredentials

准許針對指定的 iSCSI 目標,更新 Challenge Handshake 驗證通訊協定 (CHAP) 登入資料

target*

aws:ResourceTag/${TagKey}

寫入

UpdateFileSystemAssociation

准許更新檔案系統關聯

fs-association*

aws:ResourceTag/${TagKey}

寫入

UpdateGatewayInformation

准許更新閘道的中繼資料,其中包括閘道的名稱和時區

閘道*

aws:ResourceTag/${TagKey}

寫入

UpdateGatewaySoftwareNow

准許更新閘道的虛擬機器 (VM) 軟體

閘道*

aws:ResourceTag/${TagKey}

寫入

UpdateMaintenanceStartTime

准許更新閘道的每週維護開始時間資訊,包括星期幾和時間。維護時間是閘道時區中的時間

閘道*

aws:ResourceTag/${TagKey}

寫入

UpdateNFSFileShare

准許更新 NFS 檔案共享

share*

aws:ResourceTag/${TagKey}

寫入

UpdateSMBFileShare

准許更新 SMB 檔案共享

share*

aws:ResourceTag/${TagKey}

寫入

UpdateSMBFileShareVisibility

准許更新閘道上的共享在網路檢視或瀏覽清單中是否可見

閘道*

aws:ResourceTag/${TagKey}

寫入

UpdateSMBLocalGroups

准許更新對閘道上 SMB 檔案共用有特殊許可的 Active Directory 使用者和群組清單

閘道*

aws:ResourceTag/${TagKey}

寫入

UpdateSMBSecurityStrategy

准許更新檔案閘道上 SMB 安全性策略

閘道*

aws:ResourceTag/${TagKey}

寫入

UpdateSnapshotSchedule

准許更新針對閘道磁碟區設定的快照排程

磁碟區*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

寫入

UpdateVTLDeviceType

准許更新閘道 VTL 中的媒體變更器類型

裝置*

aws:ResourceTag/${TagKey}

寫入

AWS Storage Gateway 定義的資源類型

此服務會定義下列資源類型,並可用在 IAM 許可政策陳述式的 Resource 元素中。

資源類型 ARN 條件索引鍵

cache-report

arn:${Partition}:storagegateway:${Region}:${Account}:share/${ShareId}/cache-report/${CacheReportId}

aws:ResourceTag/${TagKey}

裝置

arn:${Partition}:storagegateway:${Region}:${Account}:gateway/${GatewayId}/device/${Vtldevice}

aws:ResourceTag/${TagKey}

fs-association

arn:${Partition}:storagegateway:${Region}:${Account}:fs-association/${FsaId}

aws:ResourceTag/${TagKey}

閘道

arn:${Partition}:storagegateway:${Region}:${Account}:gateway/${GatewayId}

aws:ResourceTag/${TagKey}

共用

arn:${Partition}:storagegateway:${Region}:${Account}:share/${ShareId}

aws:ResourceTag/${TagKey}

磁帶

arn:${Partition}:storagegateway:${Region}:${Account}:tape/${TapeBarcode}

aws:ResourceTag/${TagKey}

磁帶集區

arn:${Partition}:storagegateway:${Region}:${Account}:tapepool/${PoolId}

aws:ResourceTag/${TagKey}

目標

arn:${Partition}:storagegateway:${Region}:${Account}:gateway/${GatewayId}/target/${IscsiTarget}

aws:ResourceTag/${TagKey}

volume

arn:${Partition}:storagegateway:${Region}:${Account}:gateway/${GatewayId}/volume/${VolumeId}

aws:ResourceTag/${TagKey}

AWS Storage Gateway的條件索引鍵

AWS Storage Gateway 定義了下列條件索引鍵,可用於 IAM 政策的 Condition元素。

條件索引鍵 描述 Type

aws:RequestTag/${TagKey}

依每個標籤的允許值集來篩選存取

String

aws:ResourceTag/${TagKey}

依與資源相關聯的標籤值篩選存取權

String

aws:TagKeys

依請求中是否存在強制性標籤來篩選存取

ArrayOfString