AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::FraudDetector::Detector

CfnDetector

Manages a detector and associated detector versions.

Import

import { CfnDetector } from 'aws-cdk-lib/aws-frauddetector';

Or use the module namespace:

import * as frauddetector from 'aws-cdk-lib/aws-frauddetector';
// frauddetector.CfnDetector

Properties

Configuration passed to the constructor as CfnDetectorProps.

detectorIdRequired
string

The name of the detector.

eventTypeRequired
IResolvable | EventTypeProperty

The event type associated with this detector.

rulesRequired
IResolvable | IResolvable | RuleProperty[]

The rules to include in the detector version.

associatedModelsOptional
IResolvable | IResolvable | ModelProperty[]

The models to associate with this detector. You must provide the ARNs of all the models you want to associate.

descriptionOptional
string

The detector description.

detectorVersionStatusOptional
string

The status of the detector version. If a value is not provided for this property, AWS CloudFormation assumes `DRAFT` status. Valid values: `ACTIVE | DRAFT`

ruleExecutionModeOptional
string

The rule execution mode for the rules included in the detector version. Valid values: `FIRST_MATCHED | ALL_MATCHED` Default value: `FIRST_MATCHED` You can define and edit the rule mode at the detector version level, when it is in draft status. If you specify `FIRST_MATCHED` , Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule. If you specifiy `ALL_MATCHED` , Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules.

tagsOptional
CfnTag[]

An array of key-value pairs to apply to this resource. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-frauddetector
CFN TypeAWS::FraudDetector::Detector
Properties8

External Links