Amazon Elastic Compute Cloud events
Amazon EC2 sends service events directly to EventBridge, as well as via AWS CloudTrail.
Amazon EC2 service events
Amazon EC2 sends the following events directly to EventBridge:
Capacity Block Delivered
Capacity Block Expiration Warning
Cluster Capacity Block Approaching Delivery
Cluster Capacity Block Approaching Expiry
Cluster Capacity Block Delivered
Cluster Capacity Block Expired
Cluster Capacity Block Reservation Approaching Delivery
Cluster Capacity Block Reservation Approaching Expiry
Cluster Capacity Block Reservation Delivered
Cluster Capacity Block Reservation Expired
Cluster Capacity Block Reservation Scheduled
Cluster Capacity Block Scheduled
EBS Copy Snapshot Missed Completion Duration
EBS Fast Snapshot Restore State-change Notification
EBS Multi-Volume Snapshots Completion Status
EBS Snapshot Acceleration State-change Notification
EBS Snapshot Block Public Access Disabled
EBS Snapshot Block Public Access Enabled
EBS Snapshot Notification
EBS Volume Notification
EC2 AMI Available
EC2 AMI Failed
EC2 AMI State Change
EC2 Capacity Reservation Active
EC2 Capacity Reservation Cancelled
EC2 Capacity Reservation Delayed
EC2 Capacity Reservation Expired
EC2 Capacity Reservation Failed
EC2 Capacity Reservation Scheduled
EC2 Capacity Reservation Unsupported
EC2 Fast Launch State-change Notification
EC2 Instance Rebalance Recommendation
EC2 Instance State-change Notification
EC2 Spot Instance Interruption Warning
EC2 Spot Instance Rebalance Recommended
EC2 Spot Instance Request Fulfillment
Future Capacity Request Canceled
Future Capacity Request Completed
Future Capacity Request Delayed
Future Capacity Request Failed
Future Capacity Request in Assessing
Future Capacity Request Scheduled
Future Capacity Request Unsupported
Launch Template Alias Change
On-Demand Capacity Reservation Billing Ownership Request Accepted
On-Demand Capacity Reservation Billing Ownership Request Cancelled
On-Demand Capacity Reservation Billing Ownership Request Expired
On-Demand Capacity Reservation Billing Ownership Request Pending
On-Demand Capacity Reservation Billing Ownership Request Rejected
On-Demand Capacity Reservation Billing Ownership Revoked
UltraCluster Capacity Block Approaching Delivery
UltraCluster Capacity Block Approaching Expiry
UltraCluster Capacity Block Delivered
UltraCluster Capacity Block Expired
UltraCluster Capacity Block Reservation Approaching Delivery
UltraCluster Capacity Block Reservation Approaching Expiry
UltraCluster Capacity Block Reservation Delivered
UltraCluster Capacity Block Reservation Expired
UltraCluster Capacity Block Reservation Scheduled
UltraCluster Capacity Block Scheduled
UltraCluster Capacity Reservation Approaching Delivery
UltraCluster Capacity Reservation Approaching Expiry
UltraCluster Capacity Reservation Delivered
UltraCluster Capacity Reservation Expired
UltraCluster Capacity Reservation Scheduled
Delivery type: Best effort
To match against all events from this service, create an event pattern that matches against the following event attribute:
source
: aws.ec2
{ "source": ["aws.ec2"] }
To match against specific events, include a detail-type
attribute
specifying an array of event names to match. For example:
{ "source": ["aws.ec2"], "detail-type": ["
EC2 Instance State-change Notification
"] }
For more information, see Creating event patterns in the Amazon EventBridge User Guide.
Amazon EC2 events delivered via AWS CloudTrail
AWS CloudTrail sends events originating from Amazon EC2 to EventBridge. AWS services deliver events to CloudTrail on a best effort basis. For more information, see AWS service events delivered via AWS CloudTrail in the Amazon EventBridge User Guide.
To match events from this service delivered by AWS CloudTrail, create an event pattern that matches against the following event attributes:
source
: aws.ec2eventSource
: ec2.amazonaws.com
{ "source": ["aws.ec2"], "detail-type": ["AWS API Call via CloudTrail"], "detail": { "eventSource": ["ec2.amazonaws.com"] } }
To match against a specific API calls from this service, include an
eventName
attribute specifying an array of API calls to match:
{ "source": ["aws.ec2"], "detail-type": ["AWS API Call via CloudTrail"], "detail": { "eventSource": ["ec2.amazonaws.com"], "eventName": ["
api-action-name
"] } }