Amazon Connect Cases events
Amazon Connect Cases sends service events directly to EventBridge, as well as via AWS CloudTrail.
Amazon Connect Cases service events
Amazon Connect Cases sends the following events directly to EventBridge:
Amazon Connect Cases Change
Delivery type: Best effort
Supported Event Types
Amazon Connect Cases supports filtering by specific event types using the detail.eventType field. The following event types are supported:
| Event Type | Description |
|---|---|
CASE.CREATED |
Triggered when a new case is created |
CASE.UPDATED |
Triggered when an existing case is updated |
CASE.DELETED |
Triggered when a case is deleted |
RELATED_ITEM.CREATED |
Triggered when a related item is added to a case |
To match against all events from this service, create an event pattern that matches against the following event attribute:
source: aws.cases
{ "source": ["aws.cases"] }
To match against specific events, include a detail-type attribute
specifying an array of event names to match. For example:
{ "source": ["aws.cases"], "detail-type": ["Amazon Connect Cases Change"] }
To filter by specific event types, use the detail.eventType field. For example, to match only case creation events:
{ "source": ["aws.cases"], "detail-type": ["Amazon Connect Cases Change"], "detail": { "eventType": ["CASE.CREATED"] } }
To match multiple event types:
{ "source": ["aws.cases"], "detail-type": ["Amazon Connect Cases Change"], "detail": { "eventType": ["CASE.CREATED", "CASE.UPDATED", "CASE.DELETED"] } }
To match related item events:
{ "source": ["aws.cases"], "detail-type": ["Amazon Connect Cases Change"], "detail": { "eventType": ["RELATED_ITEM.CREATED"] } }
For more information, see Creating event patterns in the Amazon EventBridge User Guide.
Amazon Connect Cases events delivered via AWS CloudTrail
AWS CloudTrail sends events originating from Amazon Connect Cases 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.caseseventSource: cases.amazonaws.com
{ "source": ["aws.cases"], "detail-type": ["AWS API Call via CloudTrail"], "detail": { "eventSource": ["cases.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.cases"], "detail-type": ["AWS API Call via CloudTrail"], "detail": { "eventSource": ["cases.amazonaws.com"], "eventName": ["api-action-name"] } }