Class CfnDetector
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.frauddetector.CfnDetector
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:43.844Z")
@Stability(Stable)
public class CfnDetector
extends CfnResource
implements IInspectable, ITaggable
Manages a detector and associated detector versions.
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.*; CfnDetector cfnDetector = CfnDetector.Builder.create(this, "MyCfnDetector") .detectorId("detectorId") .eventType(EventTypeProperty.builder() .arn("arn") .createdTime("createdTime") .description("description") .entityTypes(List.of(EntityTypeProperty.builder() .arn("arn") .createdTime("createdTime") .description("description") .inline(false) .lastUpdatedTime("lastUpdatedTime") .name("name") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build())) .eventVariables(List.of(EventVariableProperty.builder() .arn("arn") .createdTime("createdTime") .dataSource("dataSource") .dataType("dataType") .defaultValue("defaultValue") .description("description") .inline(false) .lastUpdatedTime("lastUpdatedTime") .name("name") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .variableType("variableType") .build())) .inline(false) .labels(List.of(LabelProperty.builder() .arn("arn") .createdTime("createdTime") .description("description") .inline(false) .lastUpdatedTime("lastUpdatedTime") .name("name") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build())) .lastUpdatedTime("lastUpdatedTime") .name("name") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build()) .rules(List.of(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())) // the properties below are optional .associatedModels(List.of(ModelProperty.builder() .arn("arn") .build())) .description("description") .detectorVersionStatus("detectorVersionStatus") .ruleExecutionMode("ruleExecutionMode") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnDetector
.static interface
The entity type details.static interface
The event type details.static interface
The event type variable for the detector.static interface
The label details.static interface
The model.static interface
The outcome.static interface
A rule.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnDetector
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnDetector
(software.amazon.jsii.JsiiObjectRef objRef) CfnDetector
(software.constructs.Construct scope, String id, CfnDetectorProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe models to associate with this detector.The detector ARN.Timestamp of when detector was created.The name of the detector.The detector ARN.Timestamp of when the detector was created.Timestamp of when the detector was last updated.Timestamp of when detector was last updated.The detector description.The name of the detector.The status of the detector version.The event type associated with this detector.The rule execution mode for the rules included in the detector version.getRules()
The rules to include in the detector version.getTags()
Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to this resource.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAssociatedModels
(List<Object> value) The models to associate with this detector.void
setAssociatedModels
(IResolvable value) The models to associate with this detector.void
setDescription
(String value) The detector description.void
setDetectorId
(String value) The name of the detector.void
setDetectorVersionStatus
(String value) The status of the detector version.void
setEventType
(IResolvable value) The event type associated with this detector.void
The event type associated with this detector.void
setRuleExecutionMode
(String value) The rule execution mode for the rules included in the detector version.void
The rules to include in the detector version.void
setRules
(IResolvable value) The rules to include in the detector version.void
setTagsRaw
(List<CfnTag> value) An array of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDetector
protected CfnDetector(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDetector
protected CfnDetector(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDetector
@Stability(Stable) public CfnDetector(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDetectorProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The detector ARN. -
getAttrCreatedTime
Timestamp of when detector was created. -
getAttrDetectorVersionId
The name of the detector. -
getAttrEventTypeArn
The detector ARN. -
getAttrEventTypeCreatedTime
Timestamp of when the detector was created. -
getAttrEventTypeLastUpdatedTime
Timestamp of when the detector was last updated. -
getAttrLastUpdatedTime
Timestamp of when detector was last updated. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getDetectorId
The name of the detector. -
setDetectorId
The name of the detector. -
getEventType
The event type associated with this detector. -
setEventType
The event type associated with this detector. -
setEventType
The event type associated with this detector. -
getRules
The rules to include in the detector version. -
setRules
The rules to include in the detector version. -
setRules
The rules to include in the detector version. -
getAssociatedModels
The models to associate with this detector. -
setAssociatedModels
The models to associate with this detector. -
setAssociatedModels
The models to associate with this detector. -
getDescription
The detector description. -
setDescription
The detector description. -
getDetectorVersionStatus
The status of the detector version. -
setDetectorVersionStatus
The status of the detector version. -
getRuleExecutionMode
The rule execution mode for the rules included in the detector version. -
setRuleExecutionMode
The rule execution mode for the rules included in the detector version. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource.
-