Interface CfnDetector.RuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDetector.RuleProperty.Jsii$Proxy
- Enclosing class:
CfnDetector
@Stability(Stable)
public static interface CfnDetector.RuleProperty
extends software.amazon.jsii.JsiiSerializable
A rule.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.frauddetector.*;
RuleProperty ruleProperty = RuleProperty.builder()
.arn("arn")
.createdTime("createdTime")
.description("description")
.detectorId("detectorId")
.expression("expression")
.language("language")
.lastUpdatedTime("lastUpdatedTime")
.outcomes(List.of(OutcomeProperty.builder()
.arn("arn")
.createdTime("createdTime")
.description("description")
.inline(false)
.lastUpdatedTime("lastUpdatedTime")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build()))
.ruleId("ruleId")
.ruleVersion("ruleVersion")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDetector.RulePropertystatic final classAn implementation forCfnDetector.RuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetArn()The rule ARN.default StringTimestamp for when the rule was created.default StringThe rule description.default StringThe detector for which the rule is associated.default StringThe rule expression.default StringThe rule language.default StringTimestamp for when the rule was last updated.default ObjectThe rule outcome.default StringThe rule ID.default StringThe rule version.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArn
The rule ARN.- See Also:
-
getCreatedTime
Timestamp for when the rule was created.- See Also:
-
getDescription
The rule description.- See Also:
-
getDetectorId
The detector for which the rule is associated.- See Also:
-
getExpression
The rule expression.A rule expression captures the business logic. For more information, see Rule language reference .
- See Also:
-
getLanguage
The rule language.Valid Value: DETECTORPL
- See Also:
-
getLastUpdatedTime
Timestamp for when the rule was last updated.- See Also:
-
getOutcomes
The rule outcome.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDetector.OutcomeProperty>- See Also:
-
getRuleId
The rule ID.- See Also:
-
getRuleVersion
The rule version.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnDetector.RuleProperty.BuilderofCfnDetector.RuleProperty
-