Interface ICfnDetectorMixinProps
Properties for CfnDetectorPropsMixin.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.FraudDetector
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface ICfnDetectorMixinProps
Syntax (vb)
Public Interface ICfnDetectorMixinProps
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.CfnPropertyMixins.AWS.FraudDetector;
var cfnDetectorMixinProps = new CfnDetectorMixinProps {
AssociatedModels = new [] { new ModelProperty {
Arn = "arn"
} },
Description = "description",
DetectorId = "detectorId",
DetectorVersionStatus = "detectorVersionStatus",
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"
} }
},
RuleExecutionMode = "ruleExecutionMode",
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"
} }
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
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. |
Properties
AssociatedModels
The models to associate with this detector.
object? AssociatedModels { get; }
Property Value
Remarks
You must provide the ARNs of all the models you want to associate.
Type union: either IResolvable or (either IResolvable or CfnDetectorPropsMixin.IModelProperty)[]
Description
The detector description.
string? Description { get; }
Property Value
Remarks
DetectorId
The name of the detector.
string? DetectorId { get; }
Property Value
Remarks
DetectorVersionStatus
The status of the detector version.
string? DetectorVersionStatus { get; }
Property Value
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.
object? EventType { get; }
Property Value
Remarks
RuleExecutionMode
The rule execution mode for the rules included in the detector version.
string? RuleExecutionMode { get; }
Property Value
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.
object? Rules { get; }
Property Value
Remarks
Tags
An array of key-value pairs to apply to this resource.
ICfnTag[]? Tags { get; }
Property Value
ICfnTag[]