

Amazon Fraud Detector は、2025 年 11 月 7 日をもって新規顧客に公開されなくなりました。Amazon Fraud Detector と同様の機能については、Amazon SageMaker、AutoGluon、および を参照してください AWS WAF。

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# イベントオーケストレーション
<a name="event-orchestration"></a>

イベントオーケストレーションを使用すると、[Amazon EventBridge](https://docs.aws.amazon.com//eventbridge/latest/userguide/eb-what-is.html) を使用してダウンストリーム処理 AWS のサービス のために にイベントを簡単に送信できます。Amazon Fraud Detector には、不正検出後のイベント処理を自動化するために使用できるシンプルなルールが用意されています。イベントオーケストレーションを使用すると、イベントデータからインサイトを取得するためにダッシュボードにイベントを送信する、不正検出の結果に基づいて通知を生成する、不正検出から学んだことに基づいてラベルでイベントを更新するなどのダウンストリームイベントプロセスを自動化できます。

イベントオーケストレーションを使用すると、Amazon EventBridge を介して AWS 環境内のサービスに簡単にアクセスできます。[API 送信先](https://docs.aws.amazon.com//eventbridge/latest/userguide/eb-api-destinations.html)を使用してイベントを直接 に送信するか AWS のサービス 、間接的に送信するように Amazon EventBridge を設定できます。ダウンストリームプロセスをオーケストレーション AWS のサービス するために使用する は、*ターゲット*とも呼ばれます。ダウンストリーム処理の調整に使用できるターゲットは次のとおりです。
+ モニタリングと分析用 — [Amazon QuickSight](https://docs.aws.amazon.com//quicksight/latest/user/welcome.html)、[Amazon CloudWatch](https://docs.aws.amazon.com//AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html)
+ ストレージ用 — [Amazon S3](https://docs.aws.amazon.com//AmazonS3/latest/userguide/Welcome.html)、[Amazon RDS](https://docs.aws.amazon.com//AmazonRDS/latest/UserGuide/Welcome.html)、[Amazon DynamoDB](https://docs.aws.amazon.com//amazondynamodb/latest/developerguide/Introduction.html)
+ 通知の送信 — [Amazon SNS](https://docs.aws.amazon.com//sns/latest/dg/welcome.html)、[Amazon SES](https://docs.aws.amazon.com//ses/latest/dg/Welcome.html)
+ カスタム処理の場合 — [AWS Lambda](https://docs.aws.amazon.com//lambda/latest/dg/welcome.html)、[AWS Step Functions](https://docs.aws.amazon.com//step-functions/latest/dg/welcome.html)

Amazon EventBridge でサポートされているオーケストレーションターゲットの詳細については、[「Amazon EventBridge ターゲット](https://docs.aws.amazon.com//eventbridge/latest/userguide/eb-targets.html)」を参照してください。

次の図は、イベントオーケストレーションの仕組みの概要を示しています。



![\[イベントオーケストレーションフローの画像。\]](http://docs.aws.amazon.com/ja_jp/frauddetector/latest/ug/images/event-orchestration-high-level.png)


# イベントオーケストレーションの設定
<a name="setting-up-event-orchestration"></a>

イベントのイベントオーケストレーションを設定するには、ターゲットサービスでプロセスを設定し、イベントデータを受信して送信するように Amazon EventBridge を設定し、ダウンストリームプロセスを開始するための条件を指定するルールを Amazon EventBridge で作成する必要があります。イベントオーケストレーションを設定するには、次の手順を実行します。

**イベントオーケストレーションを設定するには**

1. [Amazon EventBridge ユーザーガイド](https://docs.aws.amazon.com//eventbridge/latest/userguide/eb-what-is.html)に移動し、Amazon EventBridge を使用する方法について説明します。ユースケースに合わせて Amazon EventBridge で[ルール](https://docs.aws.amazon.com//eventbridge/latest/userguide/eb-rules.html)を作成する方法を確認してください。

1. 「」の手順に従います[Amazon Fraud Detector でイベントオーケストレーションを有効にする](enable-event-orchestration.md)。
**注記**  
イベントのイベントオーケストレーションはデフォルトで*無効*になっています。

1. イベントデータを受信して処理するようにターゲットサービスを設定します。たとえば、ダウンストリームプロセスで通知を送信し、Amazon SNS を使用する場合は、Amazon SNS コンソールに移動して SNS トピックを作成し、エンドポイントをトピックにサブスクライブします。

1. 手順に従って [Amazon EventBridge ルールを作成します](https://docs.aws.amazon.com//eventbridge/latest/userguide/eb-create-rule.html)。
**重要**  
Amazon EventBridge でイベントパターンを構築するときは、`aws.frauddetector`*ソース*フィールドに を指定し、`Event Prediction Result Returned`*詳細タイプ*フィールドに を指定してください。

# Amazon Fraud Detector でイベントオーケストレーションを有効にする
<a name="enable-event-orchestration"></a>

イベントのイベントオーケストレーションは、イベントタイプを作成するとき、またはイベントタイプを作成した後に有効にできます。イベントオーケストレーションは、Amazon Fraud Detector コンソール、 `put-event-type` コマンド、 `PutEventType` API、または を使用して有効にできます AWS SDK for Python (Boto3)。

## Amazon Fraud Detector コンソールでイベントオーケストレーションを有効にする
<a name="enable-event-orchestration-console"></a>

この例では、既に作成されているイベントタイプのイベントオーケストレーションを有効にします。新しいイベントタイプを作成し、オーケストレーションを有効にする場合は、「」の手順に従います[イベントタイプを作成する](create-event-type.md)。

**イベントオーケストレーションを有効にするには**

1. [AWS マネジメントコンソール](https://console.aws.amazon.com/)を開き、アカウントにサインインします。Amazon Fraud Detector に移動します。

1. 左側のナビゲーションペインで [**イベント**] を選択します。

1. **イベントタイプ**ページで、イベントタイプを選択します。

1. **Amazon EventBridge でイベントオーケストレーションを有効にする**を有効にします。

1. の手順 3 に進みます[イベントオーケストレーションの設定](setting-up-event-orchestration.md)。

## を使用してイベントオーケストレーションを有効にする AWS SDK for Python (Boto3)
<a name="enable-event-orchestration-using-the-aws-python-sdk"></a>

次の例は、イベントオーケストレーションを有効にする`sample_registration`ためにイベントタイプを更新するためのサンプルリクエストを示しています。この例では `PutEventType` API を使用し、変数 `ip_address`と `email_address`、ラベル `legit`と `fraud`、エンティティタイプ を作成したことを前提としています`sample_customer`。これらのリソースの作成方法については、[「 リソース](https://docs.aws.amazon.com//frauddetector/latest/ug/create-resources.html)」を参照してください。

```
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'])
```

# Amazon Fraud Detector でイベントオーケストレーションを無効にする
<a name="disable-event-orchestration"></a>

Amazon Fraud Detector コンソール、 `put-event-type` コマンド、 `PutEventType` API、または を使用して、イベントのイベントオーケストレーションをいつでも無効にできます AWS SDK for Python (Boto3)。

## Amazon Fraud Detector コンソールでイベントオーケストレーションを無効にする
<a name="disable-event-orchestration-console"></a>

**イベントオーケストレーションを無効にするには**

1. [AWS マネジメントコンソール](https://console.aws.amazon.com/)を開き、アカウントにサインインします。Amazon Fraud Detector に移動します。

1. 左側のナビゲーションペインで [**イベント**] を選択します。

1. **イベントタイプ**ページで、イベントタイプを選択します。

1. Amazon ** EventBridge でイベントオーケストレーションを有効にする**をオフにします。

## を使用してイベントオーケストレーションを無効にする AWS SDK for Python (Boto3)
<a name="disable-event-orchestration-using-the-aws-python-sdk"></a>

次の例は、 `PutEventType` API を使用してイベントオーケストレーションを無効にする`sample_registration`ためにイベントタイプを更新するリクエストの例を示しています。

```
import boto3
fraudDetector = boto3.client('frauddetector')
fraud_detector.put_event_type( 
  name = 'sample_registration',
  eventVariables = ['ip_address', 'email_address'],
  eventOrchestration = {'eventBridgeEnabled': False},  
  entityTypes = ['sample_customer'])
```