本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
的操作、资源和条件键 Amazon Backup Gateway
Amazon 备份网关(服务前缀: backup-gateway) 提供以下特定服务的操作、资源、操作和条件密钥,用于 IAM 权限策略。
参考:
主题
API 操作定义为 Amazon Backup Gateway
下表将 API 操作映射到它们授权的 IAM 操作。仅列出具有给定 API 和操作静态值的条件密钥;有关每个操作支持的全套条件密钥,请参阅 操作表。
| 操作 | IAM 操作 | 条件键 | 可能的值 | 访问级别 |
|---|---|---|---|---|
|
AssociateGatewayToServer |
写入 |
|||
|
CreateGateway |
写入 |
|||
标记、写入 |
||||
|
DeleteGateway |
写入 |
|||
|
DeleteHypervisor |
写入 |
|||
|
DisassociateGatewayFromServer |
写入 |
|||
|
GetBandwidthRateLimitSchedule |
读取 |
|||
|
GetGateway |
读取 |
|||
|
GetHypervisor |
读取 |
|||
|
GetHypervisorPropertyMappings |
读取 |
|||
|
GetVirtualMachine |
读取 |
|||
|
ImportHypervisorConfiguration |
写入 |
|||
标记、写入 |
||||
|
ListGateways |
读取 |
|||
|
ListHypervisors |
读取 |
|||
|
ListTagsForResource |
读取 |
|||
|
ListVirtualMachines |
读取 |
|||
|
PutBandwidthRateLimitSchedule |
写入 |
|||
|
PutHypervisorPropertyMappings |
写入 |
|||
iam:PassedToService |
backup-gateway.amazonaws.com |
写入 |
||
|
PutMaintenanceStartTime |
写入 |
|||
|
StartVirtualMachinesMetadataSync |
写入 |
|||
iam:PassedToService |
backup-gateway.amazonaws.com |
写入 |
||
|
TagResource |
标记、写入 |
|||
|
TestHypervisorConfiguration |
写入 |
|||
|
UntagResource |
标记、写入 |
|||
|
UpdateGatewayInformation |
写入 |
|||
|
UpdateGatewaySoftwareNow |
写入 |
|||
|
UpdateHypervisor |
写入 |
动作定义为 Amazon Backup Gateway
您可以在 IAM 策略语句的 Action 元素中指定以下操作。对于每个操作,该表列出了该操作支持的资源类型和条件键。可以使用策略授予在 Amazon中执行操作的权限。您在策略中使用一项操作时,通常使用相同的名称允许或拒绝对 API 操作或 CLI 命令的访问。但在某些情况下,单一动作可控制对多项操作的访问。还有某些操作需要多种不同的动作。
| 操作 | 说明 | 资源类型(* 为必需) | 条件键 | 访问级别 |
|---|---|---|---|---|
授予以下权限 AssociateGatewayToServer |
写入 |
|||
授予 Backup 的权限 |
写入 |
|||
授予以下权限 CreateGateway |
写入 |
|||
授予以下权限 DeleteGateway |
写入 |
|||
授予以下权限 DeleteHypervisor |
写入 |
|||
授予以下权限 DisassociateGatewayFromServer |
写入 |
|||
授予以下权限 GetBandwidthRateLimitSchedule |
读取 |
|||
授予以下权限 GetGateway |
读取 |
|||
授予以下权限 GetHypervisor |
读取 |
|||
授予以下权限 GetHypervisorPropertyMappings |
读取 |
|||
授予以下权限 GetVirtualMachine |
读取 |
|||
授予以下权限 ImportHypervisorConfiguration |
写入 |
|||
授予以下权限 ListGateways |
读取 |
|||
授予以下权限 ListHypervisors |
读取 |
|||
授予以下权限 ListTagsForResource |
读取 |
|||
授予以下权限 ListVirtualMachines |
读取 |
|||
授予以下权限 PutBandwidthRateLimitSchedule |
写入 |
|||
授予以下权限 PutHypervisorPropertyMappings |
写入 |
|||
授予以下权限 PutMaintenanceStartTime |
写入 |
|||
授予 Restore 的权限 |
写入 |
|||
授予以下权限 StartVirtualMachinesMetadataSync |
写入 |
|||
授予以下权限 TagResource |
标记、写入 |
|||
授予以下权限 TestHypervisorConfiguration |
写入 |
|||
授予以下权限 UntagResource |
标记、写入 |
|||
授予以下权限 UpdateGatewayInformation |
写入 |
|||
授予以下权限 UpdateGatewaySoftwareNow |
写入 |
|||
授予以下权限 UpdateHypervisor |
写入 |
资源类型定义为 Amazon Backup Gateway
以下资源类型是由该服务定义的,可以在 IAM 权限策略语句的 Resource 元素中使用这些资源类型。
| 资源类型 | ARN | 条件键 |
|---|---|---|
arn:${Partition}:backup-gateway:${Region}:${Account}:gateway/${GatewayId} |
||
arn:${Partition}:backup-gateway:${Region}:${Account}:hypervisor/${HypervisorId} |
||
arn:${Partition}:backup-gateway:${Region}:${Account}:vm/${VirtualmachineId} |
的条件密钥 Amazon Backup Gateway
Amazon Backup Gateway 定义了以下条件密钥,这些密钥可用于 Condition IAM 政策的元素。
| 条件键 | 描述 | 类型 |
|---|---|---|
按每个标签的允许值集筛选访问 |
String |
|
按与资源关联的标签值筛选访问权限 |
String |
|
按请求中是否具有必需标签来筛选访问 |
ArrayOfString |