Class CfnDetectorProps
Properties for defining a CfnDetector
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.FraudDetector
Assembly: Amazon.CDK.AWS.FraudDetector.dll
Syntax (csharp)
public class CfnDetectorProps : Object, ICfnDetectorProps
Syntax (vb)
Public Class CfnDetectorProps
Inherits Object
Implements ICfnDetectorProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FraudDetector;
var cfnDetectorProps = new CfnDetectorProps {
DetectorId = "detectorId",
EventType = new EventTypeProperty {
Arn = "arn",
CreatedTime = "createdTime",
Description = "description",
EntityTypes = new [] { new EntityTypeProperty {
Arn = "arn",
CreatedTime = "createdTime",
Description = "description",
Inline = false,
LastUpdatedTime = "lastUpdatedTime",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
} },
EventVariables = new [] { new EventVariableProperty {
Arn = "arn",
CreatedTime = "createdTime",
DataSource = "dataSource",
DataType = "dataType",
DefaultValue = "defaultValue",
Description = "description",
Inline = false,
LastUpdatedTime = "lastUpdatedTime",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VariableType = "variableType"
} },
Inline = false,
Labels = new [] { new LabelProperty {
Arn = "arn",
CreatedTime = "createdTime",
Description = "description",
Inline = false,
LastUpdatedTime = "lastUpdatedTime",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
} },
LastUpdatedTime = "lastUpdatedTime",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
},
Rules = new [] { new RuleProperty {
Arn = "arn",
CreatedTime = "createdTime",
Description = "description",
DetectorId = "detectorId",
Expression = "expression",
Language = "language",
LastUpdatedTime = "lastUpdatedTime",
Outcomes = new [] { new OutcomeProperty {
Arn = "arn",
CreatedTime = "createdTime",
Description = "description",
Inline = false,
LastUpdatedTime = "lastUpdatedTime",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
} },
RuleId = "ruleId",
RuleVersion = "ruleVersion",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
} },
// the properties below are optional
AssociatedModels = new [] { new ModelProperty {
Arn = "arn"
} },
Description = "description",
DetectorVersionStatus = "detectorVersionStatus",
RuleExecutionMode = "ruleExecutionMode",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnDetectorProps() |
Properties
AssociatedModels | The models to associate with this detector. |
Description | The detector description. |
DetectorId | The name of the detector. |
DetectorVersionStatus | The status of the detector version. |
EventType | The event type associated with this detector. |
RuleExecutionMode | The rule execution mode for the rules included in the detector version. |
Rules | The rules to include in the detector version. |
Tags | An array of key-value pairs to apply to this resource. |
Constructors
CfnDetectorProps()
public CfnDetectorProps()
Properties
AssociatedModels
The models to associate with this detector.
public object AssociatedModels { get; set; }
Property Value
System.Object
Remarks
You must provide the ARNs of all the models you want to associate.
Description
The detector description.
public string Description { get; set; }
Property Value
System.String
Remarks
DetectorId
The name of the detector.
public string DetectorId { get; set; }
Property Value
System.String
Remarks
DetectorVersionStatus
The status of the detector version.
public string DetectorVersionStatus { get; set; }
Property Value
System.String
Remarks
If a value is not provided for this property, AWS CloudFormation assumes DRAFT
status.
Valid values: ACTIVE | DRAFT
EventType
The event type associated with this detector.
public object EventType { get; set; }
Property Value
System.Object
Remarks
RuleExecutionMode
The rule execution mode for the rules included in the detector version.
public string RuleExecutionMode { get; set; }
Property Value
System.String
Remarks
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.
Rules
The rules to include in the detector version.
public object Rules { get; set; }
Property Value
System.Object
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tag .