Class CfnDetector.RuleProperty
A rule.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.FraudDetector
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RuleProperty : Object, CfnDetector.IRuleProperty
Syntax (vb)
Public Class RuleProperty
Inherits Object
Implements CfnDetector.IRuleProperty
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 ruleProperty = 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"
} }
};
Synopsis
Constructors
RuleProperty() |
Properties
Arn | The rule ARN. |
CreatedTime | Timestamp for when the rule was created. |
Description | The rule description. |
DetectorId | The detector for which the rule is associated. |
Expression | The rule expression. |
Language | The rule language. |
LastUpdatedTime | Timestamp for when the rule was last updated. |
Outcomes | The rule outcome. |
RuleId | The rule ID. |
RuleVersion | The rule version. |
Tags | An array of key-value pairs to apply to this resource. |
Constructors
RuleProperty()
public RuleProperty()
Properties
Arn
The rule ARN.
public string Arn { get; set; }
Property Value
System.String
Remarks
CreatedTime
Timestamp for when the rule was created.
public string CreatedTime { get; set; }
Property Value
System.String
Remarks
Description
The rule description.
public string Description { get; set; }
Property Value
System.String
Remarks
DetectorId
The detector for which the rule is associated.
public string DetectorId { get; set; }
Property Value
System.String
Remarks
Expression
The rule expression.
public string Expression { get; set; }
Property Value
System.String
Remarks
A rule expression captures the business logic. For more information, see Rule language reference .
Language
The rule language.
public string Language { get; set; }
Property Value
System.String
Remarks
LastUpdatedTime
Timestamp for when the rule was last updated.
public string LastUpdatedTime { get; set; }
Property Value
System.String
Remarks
Outcomes
The rule outcome.
public object Outcomes { get; set; }
Property Value
System.Object
Remarks
RuleId
The rule ID.
public string RuleId { get; set; }
Property Value
System.String
Remarks
RuleVersion
The rule version.
public string RuleVersion { get; set; }
Property Value
System.String
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]