选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

监控共享容量预留的账单分配请求

聚焦模式
监控共享容量预留的账单分配请求 - Amazon Elastic Compute Cloud

当账单分配请求的状态发生变化时,Amazon EC2 会发送 Amazon EventBridge 事件。

  • 当请求进入以下状态时,将向容量预留所有者发送事件:accepted | rejected | expired | revoked

  • 当请求进入以下状态时,将向请求的使用者账户发送事件:pending | expired | cancelled | revoked

有关 Amazon EventBridge 的信息,请参阅 Amazon EventBridge 用户指南

以下是 Amazon EventBridge 事件的模式。

{ "version":"0", "id":"12345678-1234-1234-1234-123456789012", "detail-type":"On-Demand Capacity Reservation Billing Ownership Request pending|accepted|rejected|cancelled|revoked|expired", "source":"aws.ec2", "account":"account_id", "time":"state_change_timestamp", "region":"region", "resources":[ "arn:aws:ec2:region:cr_owner_account_id:capacity-reservation/cr_id" ], "detail":{ "capacity-reservation-id":"cr_id", "requestedByYou":true|false, "ownerAccountId":"cr_owner_account_id", "unusedReservationChargesOwnerID":"consumer_account_id", "BillingTransferRequestStatus":"pending|accepted|rejected|cancelled|revoked|expired", } }

以下是当使用者账户(111111111111)接受共享容量预留(cr-01234567890abcdef)的账单分配请求时,将向容量预留所有者(222222222222)发送的事件示例。

{ "version":"0", "id":"12345678-1234-1234-1234-123456789012", "detail-type":"On-Demand Capacity Reservation Billing Ownership Request accepted", "source":"aws.ec2", "account":"222222222222", "time":"2024-09-01Thh:59:59Z", "region":"us-east-1", "resources":[ "arn:aws:ec2:us-east-1:222222222222:capacity-reservation/cr-01234567890abcdef" ], "detail":{ "capacity-reservation-id":"cr-01234567890abcdef", "requestedByYou":true, "ownerAccountId":"222222222222", "unusedReservationChargesOwnerID":"111111111111", "BillingTransferRequestStatus":"accepted", } }
隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。