interface RuleProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.FraudDetector.CfnDetector.RuleProperty |
![]() | software.amazon.awscdk.services.frauddetector.CfnDetector.RuleProperty |
![]() | aws_cdk.aws_frauddetector.CfnDetector.RuleProperty |
![]() | @aws-cdk/aws-frauddetector » CfnDetector » RuleProperty |
A rule.
Rule is a condition that tells Amazon Fraud Detector how to interpret variables values during a fraud prediction.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as frauddetector from '@aws-cdk/aws-frauddetector';
const ruleProperty: frauddetector.CfnDetector.RuleProperty = {
arn: 'arn',
createdTime: 'createdTime',
description: 'description',
detectorId: 'detectorId',
expression: 'expression',
language: 'language',
lastUpdatedTime: 'lastUpdatedTime',
outcomes: [{
arn: 'arn',
createdTime: 'createdTime',
description: 'description',
inline: false,
lastUpdatedTime: 'lastUpdatedTime',
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
}],
ruleId: 'ruleId',
ruleVersion: 'ruleVersion',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
arn? | string | The rule ARN. |
created | string | Timestamp for when the rule was created. |
description? | string | The rule description. |
detector | string | The detector for which the rule is associated. |
expression? | string | The rule expression. |
language? | string | The rule language. |
last | string | Timestamp for when the rule was last updated. |
outcomes? | IResolvable | IResolvable | Outcome [] | The rule outcome. |
rule | string | The rule ID. |
rule | string | The rule version. |
tags? | Cfn [] | An array of key-value pairs to apply to this resource. |
arn?
Type:
string
(optional)
The rule ARN.
createdTime?
Type:
string
(optional)
Timestamp for when the rule was created.
description?
Type:
string
(optional)
The rule description.
detectorId?
Type:
string
(optional)
The detector for which the rule is associated.
expression?
Type:
string
(optional)
The rule expression.
A rule expression captures the business logic. For more information, see Rule language reference .
language?
Type:
string
(optional)
The rule language.
lastUpdatedTime?
Type:
string
(optional)
Timestamp for when the rule was last updated.
outcomes?
Type:
IResolvable
|
IResolvable
|
Outcome
[]
(optional)
The rule outcome.
ruleId?
Type:
string
(optional)
The rule ID.
ruleVersion?
Type:
string
(optional)
The rule version.
tags?
Type:
Cfn
[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .