Enable event orchestration in Amazon Fraud Detector
You can enable event orchestration for an event either when you are creating your event type or after you have created your event type.
Event orchestration can be enabled in the Amazon Fraud Detector console, using the put-event-type
command, using the PutEventType
API, or using the AWS SDK for Python (Boto3).
Enable event orchestration in the Amazon Fraud Detector console
This example enables event orchestration for an event type that is has already been created. If you are creating a new event type and want to enable orchestration, follow instructions to Create an event type.
To enable event orchestration
-
Open the AWS Management Console
and sign in to your account. Navigate to Amazon Fraud Detector. -
In the left navigation pane, choose Events.
-
In the Events type page, choose your event type.
-
Turn on Enable event orchestration with Amazon EventBridge.
-
Continue with step 3 instructions for Setting up event orchestration.
Enable event orchestration using the AWS SDK for Python (Boto3)
The following example shows a sample request for updating an event type sample_registration
to enable event orchestration.
The example uses the PutEventType
API and assumes you have created the variables ip_address
and email_address
,
the labels legit
and fraud
, and the entity type sample_customer
. For information on how to create
these resources, see Resources.
import boto3 fraudDetector = boto3.client('frauddetector') fraud_detector.put_event_type( name = 'sample_registration', eventVariables = ['ip_address', 'email_address'], eventOrchestration = {'eventBridgeEnabled': True}, labels = ['legit', 'fraud'], entityTypes = ['sample_customer'])