Amazon Lex Model Building Service events - Amazon EventBridge

Amazon Lex Model Building Service events

Amazon Lex MBS sends service events to EventBridge via AWS CloudTrail.

Amazon Lex MBS events delivered via AWS CloudTrail

AWS CloudTrail sends events originating from Amazon Lex MBS 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.lex

  • eventSource: lex.amazonaws.com

{ "source": ["aws.lex"], "detail-type": ["AWS API Call via CloudTrail"], "detail": { "eventSource": ["lex.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.lex"], "detail-type": ["AWS API Call via CloudTrail"], "detail": { "eventSource": ["lex.amazonaws.com"], "eventName": ["api-action-name"] } }