View a markdown version of this page

的操作、资源和条件键 Amazon Billing - 服务授权参考
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)。

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

的操作、资源和条件键 Amazon Billing

Amazon Billing (服务前缀: billing) 提供以下特定服务的操作、资源、操作和条件密钥,用于 IAM 权限策略。

参考:

API 操作定义为 Amazon Billing

下表将 API 操作映射到它们授权的 IAM 操作。仅列出具有给定 API 和操作静态值的条件密钥;有关每个操作支持的全套条件密钥,请参阅 操作表。

操作 IAM 操作 条件键 可能的值 访问级别

AssociateContract

billing:AssociateContract

写入

AssociateSourceViews

billing:AssociateSourceViews

写入

billing:UseSourceView

读取

CancelContractualInvestmentAttestation

billing:CancelContractualInvestmentAttestation

写入

CreateBillingView

billing:CreateBillingView

写入

billing:TagResource

标记、写入

billing:UseSourceView

读取

CreateContractualInvestmentAttestation

billing:CreateContractualInvestmentAttestation

写入

DeleteBillingView

billing:DeleteBillingView

写入

DisassociateContract

billing:DisassociateContract

写入

DisassociateSourceViews

billing:DisassociateSourceViews

写入

GetBillingPreferences

billing:GetBillingPreferences

读取

aws-portal:ViewBilling

读取

GetBillingView

billing:GetBillingView

读取

GetContractInformation

billing:GetContractInformation

读取

GetCreditAllocationHistory

billing:GetCreditAllocationHistory

读取

GetCredits

billing:GetCredits

读取

aws-portal:ViewBilling

读取

GetEnterpriseSupportChargeSummary

billing:GetEnterpriseSupportChargeSummary

读取

GetEnterpriseSupportContractDetails

billing:GetEnterpriseSupportContractDetails

读取

GetResourcePolicy

billing:GetResourcePolicy

权限管理,写入

ListBillingViewSegments

billing:ListBillingViewSegments

列表

ListBillingViews

billing:ListBillingViews

读取

ListBusinessSupportAccountCharges

billing:ListBusinessSupportAccountCharges

列表

ListBusinessSupportSubscriptionHistory

billing:ListBusinessSupportSubscriptionHistory

列表

ListContracts

billing:ListContracts

列表

ListContractualInvestmentAttestations

billing:ListContractualInvestmentAttestations

读取

ListContractualInvestmentSummaries

billing:ListContractualInvestmentSummaries

读取

ListContractualInvestments

billing:ListContractualInvestments

读取

ListEnterpriseSupportLinkedAccountCharges

billing:ListEnterpriseSupportLinkedAccountCharges

列表

ListSourceViewsForBillingView

billing:ListSourceViewsForBillingView

列表

ListTagsForResource

billing:ListTagsForResource

读取

RedeemCredits

billing:RedeemCredits

写入

aws-portal:ModifyBilling

写入

TagResource

billing:TagResource

标记、写入

UntagResource

billing:UntagResource

标记、写入

UpdateBillingPreferences

billing:UpdateBillingPreferences

写入

aws-portal:ModifyBilling

写入

UpdateBillingView

billing:UpdateBillingView

写入

动作定义为 Amazon Billing

您可以在 IAM 策略语句的 Action 元素中指定以下操作。对于每个操作,该表列出了该操作支持的资源类型和条件键。可以使用策略授予在 Amazon中执行操作的权限。您在策略中使用一项操作时,通常使用相同的名称允许或拒绝对 API 操作或 CLI 命令的访问。但在某些情况下,单一动作可控制对多项操作的访问。还有某些操作需要多种不同的动作。

操作 说明 资源类型(* 为必需) 条件键 访问级别

AssociateContract

授予将私人定价附录与呼叫者关联的权限 Amazon Web Services 账户

contract*

写入

AssociateSourceViews

授予权限以将源视图与账单视图关联

billingview*

aws:ResourceTag/${TagKey}

写入

CancelContractualInvestmentAttestation

允许取消在私募定价附录中申请投资奖励的认证

contract*

写入

CreateBillingView

授予权限以创建账单视图

billingview*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

写入

CreateContractualInvestmentAttestation

允许创建证书,要求在私募定价附录中完成结果后获得投资奖励

contract*

写入

DeleteBillingView

授予权限以删除账单视图

billingview*

aws:ResourceTag/${TagKey}

写入

DisassociateContract

授予取消私有定价附录与来电者关联的权限 Amazon Web Services 账户

contract*

写入

DisassociateSourceViews

授予权限以取消源视图与账单视图的关联

billingview*

aws:ResourceTag/${TagKey}

写入

GetBillingPreferences

授予查看账单首选项的权限,例如预留实例、实惠配套和服务抵扣金共享

读取

GetBillingView

授予权限以获取指定账单视图的元数据

billingview*

aws:ResourceTag/${TagKey}

读取

GetCreditAllocationHistory

授予查看积分分配历史记录的权限

读取

GetCredits

授予查看已兑换的服务抵扣金的权限

读取

GetEnterpriseSupportChargeSummary

授予查看企业支持费用摘要数据的权限

读取

GetEnterpriseSupportContractDetails

授予查看企业支持合同详细信息的权限

读取

GetResourcePolicy

授予权限以获取资源策略指定账单视图

billingview*

aws:ResourceTag/${TagKey}

权限管理,写入

ListBillingViewSegments

授予获取指定账单视图的账单视图区段列表的权限

列表

ListBillingViews

授予权限以获取所有可用账单视图的列表

读取

ListBusinessSupportAccountCharges

授予查看按关联账户细分的商业支持费用的权限

列表

ListBusinessSupportSubscriptionHistory

授予查看商业支持订阅合同历史记录的权限

列表

ListContracts

授予列出来电者账户可见的合同的权限

列表

ListContractualInvestmentAttestations

允许列出根据私募定价附录提交的投资证明

contract*

读取

ListContractualInvestmentSummaries

授予在私募定价附录中列出投资摘要的权限

contract*

读取

ListContractualInvestments

允许在私募定价附录的投资摘要下列出投资

contract*

读取

ListCreditEntitlementPeriods

授予查看信贷权利衡量期限的权限

读取

ListCreditEntitlements

授予查看来电者账户设定获得的信用额度资格的权限

读取

ListEnterpriseSupportLinkedAccountCharges

授予查看按关联账户细分的企业支持费用的权限

列表

ListSourceViewsForBillingView

授予权限以获取指定账单视图的源视图的列表

billingview*

aws:ResourceTag/${TagKey}

列表

ListTagsForResource

授予权限以获取指定账单视图的标签的列表

billingview*

aws:ResourceTag/${TagKey}

读取

RedeemCredits

授予兑换权限 Amazon 信贷

写入

SplitCredit

授予将积分拆分成同一个账户中的多个子项积分的权限

写入

TagResource

授予权限以将标签添加到指定账单视图

billingview*

aws:RequestTag/${TagKey}

aws:ResourceTag/${TagKey}

aws:TagKeys

标记、写入

TransferCredit

授予向同一付款人下的另一个账户转账的权限

写入

UntagResource

授予权限以从指定账单视图移除标签

billingview*

aws:ResourceTag/${TagKey}

aws:TagKeys

标记、写入

UpdateBillingPreferences

授予更新账单首选项的权限,例如预留实例、实惠配套和服务抵扣金共享

写入

UpdateBillingView

授予权限以更新账单视图

billingview*

aws:ResourceTag/${TagKey}

写入

Permission-only 的操作 Amazon Billing

以下操作定义为 Amazon Billing 但不能通过任何 API 操作直接调用。它们只能在 IAM 政策声明中用于授予或拒绝权限。

操作 说明 资源类型(* 为必需) 条件键 访问级别

DeleteResourcePolicy

授予权限以删除账单视图资源策略

billingview*

aws:ResourceTag/${TagKey}

权限管理,写入

GetBillingData

授予对账单信息执行查询的权限

billingview

aws:ResourceTag/${TagKey}

读取

GetBillingDetails

授予查看详细行项目账单信息的权限

billingview

aws:ResourceTag/${TagKey}

读取

GetBillingNotifications

授予查看由发送的通知的权限 Amazon 与您的账户账单信息相关

读取

GetBillingViewData

授予权限以获取指定账单视图的成本和使用情况数据

billingview*

aws:ResourceTag/${TagKey}

读取

GetContractInformation

授予检索合同信息的权限,例如合同的法人实体名称、期限和账户

contract

读取

GetIAMAccessPreference

授予权限以检索允许 IAM 访问账单首选项状态

读取

GetSellerOfRecord

授予检索账户的默认记录卖家的权限

读取

PutContractInformation

授予设置账户合同信息、最终用户组织名称,以及账户是否用于为公共部门客户提供服务的权限

写入

PutResourcePolicy

授予权限以放置账单视图资源策略

billingview*

aws:ResourceTag/${TagKey}

权限管理,写入

UpdateIAMAccessPreference

授予权限以更新允许 IAM 访问账单首选项

写入

UseSourceView

授予权限以使用账单视图作为其他账单视图的数据来源

读取

资源类型定义为 Amazon Billing

以下资源类型是由该服务定义的,可以在 IAM 权限策略语句的 Resource 元素中使用这些资源类型。

资源类型 ARN 条件键

billingview

arn:${Partition}:billing::${Account}:billingview/${ResourceId}

aws:ResourceTag/${TagKey}

contract

arn:${Partition}:billing::${Account}:contract/${ContractId}

的条件密钥 Amazon Billing

Amazon Billing 定义了以下条件密钥,这些密钥可用于 Condition IAM 政策的元素。

条件键 描述 类型

aws:RequestTag/${TagKey}

按请求中传递的标签筛选访问权限

String

aws:ResourceTag/${TagKey}

按与资源关联的标签筛选访问权限

String

aws:TagKeys

按请求中传递的标签键筛选访问权限

ArrayOfString