AWS::FraudDetector::Detector
Manages a detector and associated detector versions.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::FraudDetector::Detector", "Properties" : { "AssociatedModels" :[ Model, ... ], "Description" :String, "DetectorId" :String, "DetectorVersionStatus" :String, "EventType" :EventType, "RuleExecutionMode" :String, "Rules" :[ Rule, ... ], "Tags" :[ Tag, ... ]} }
YAML
Type: AWS::FraudDetector::Detector Properties: AssociatedModels:- ModelDescription:StringDetectorId:StringDetectorVersionStatus:StringEventType:EventTypeRuleExecutionMode:StringRules:- RuleTags:- Tag
Properties
AssociatedModels-
The models to associate with this detector. You must provide the ARNs of all the models you want to associate.
Required: No
Type: List of Model
Update requires: No interruption
Description-
The detector description.
Required: No
Type: String
Minimum:
1Maximum:
128Update requires: No interruption
DetectorId-
The name of the detector.
Required: Yes
Type: String
Minimum:
1Maximum:
64Pattern:
^[0-9a-z_-]+$Update requires: Replacement
DetectorVersionStatus-
The status of the detector version. If a value is not provided for this property, Amazon CloudFormation assumes
DRAFTstatus.Valid values:
ACTIVE | DRAFTRequired: No
Type: String
Update requires: No interruption
EventType-
The event type associated with this detector.
Required: Yes
Type: EventType
Update requires: No interruption
RuleExecutionMode-
The rule execution mode for the rules included in the detector version.
Valid values:
FIRST_MATCHED | ALL_MATCHEDDefault value:FIRST_MATCHEDYou 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.Required: No
Type: String
Update requires: No interruption
Rules-
The rules to include in the detector version.
Required: Yes
Type: List of Rule
Update requires: No interruption
Tags-
An array of key-value pairs to apply to this resource.
For more information, see Tag.
Required: No
Type: List of Tag
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Reffunction, Refreturns the primary identifier for the resource, which is the ARN.
Example: {"Ref": "arn:aws:frauddetector:us-west-2:123123123123:outcome/outcome_name"}
For more information about using the Reffunction, see Ref.
Fn::GetAtt
The Fn::GetAttintrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAttintrinsic function, see Fn::GetAtt.
Arn-
The detector ARN.
CreatedTime-
Timestamp of when detector was created.
DetectorVersionId-
The name of the detector.
EventType.ArnProperty description not available.
EventType.CreatedTimeProperty description not available.
EventType.LastUpdatedTimeProperty description not available.
LastUpdatedTime-
Timestamp of when detector was last updated.
See also
-
CreateDetectorVersion in the Amazon Fraud Detector API Reference.
-
Create a detector version in the Amazon Fraud Detector User Guide.