AWS::FraudDetector::DetectorManages a detector and associated detector versions.
import { CfnDetector } from 'aws-cdk-lib/aws-frauddetector';Or use the module namespace:
import * as frauddetector from 'aws-cdk-lib/aws-frauddetector';
// frauddetector.CfnDetectorConfiguration passed to the constructor as CfnDetectorProps.
detectorIdRequiredstringThe name of the detector.
eventTypeRequiredIResolvable | EventTypePropertyThe event type associated with this detector.
rulesRequiredIResolvable | IResolvable | RuleProperty[]The rules to include in the detector version.
associatedModelsOptionalIResolvable | IResolvable | ModelProperty[]The models to associate with this detector. You must provide the ARNs of all the models you want to associate.
descriptionOptionalstringThe detector description.
detectorVersionStatusOptionalstringThe status of the detector version. If a value is not provided for this property, AWS CloudFormation assumes `DRAFT` status. Valid values: `ACTIVE | DRAFT`
ruleExecutionModeOptionalstringThe 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.
tagsOptionalCfnTag[]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) .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-frauddetectorAWS::FraudDetector::Detector