@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:06.591Z") @Stability(value=Stable) public class CfnDetector extends CfnResource implements IInspectable
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnDetector.Builder
A fluent builder for
CfnDetector. |
static interface |
CfnDetector.EntityTypeProperty
Example:
|
static interface |
CfnDetector.EventTypeProperty
Example:
|
static interface |
CfnDetector.EventVariableProperty
Example:
|
static interface |
CfnDetector.LabelProperty
Example:
|
static interface |
CfnDetector.ModelProperty
Example:
|
static interface |
CfnDetector.OutcomeProperty
Example:
|
static interface |
CfnDetector.RuleProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnDetector(software.constructs.Construct scope,
String id,
CfnDetectorProps props)
Create a new `AWS::FraudDetector::Detector`.
|
protected |
CfnDetector(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnDetector(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAssociatedModels()
`AWS::FraudDetector::Detector.AssociatedModels`.
|
String |
getAttrArn() |
String |
getAttrCreatedTime() |
String |
getAttrDetectorVersionId() |
String |
getAttrEventTypeArn() |
String |
getAttrEventTypeCreatedTime() |
String |
getAttrEventTypeLastUpdatedTime() |
String |
getAttrLastUpdatedTime() |
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
`AWS::FraudDetector::Detector.Description`.
|
String |
getDetectorId()
`AWS::FraudDetector::Detector.DetectorId`.
|
String |
getDetectorVersionStatus()
`AWS::FraudDetector::Detector.DetectorVersionStatus`.
|
Object |
getEventType()
`AWS::FraudDetector::Detector.EventType`.
|
String |
getRuleExecutionMode()
`AWS::FraudDetector::Detector.RuleExecutionMode`.
|
Object |
getRules()
`AWS::FraudDetector::Detector.Rules`.
|
TagManager |
getTags()
`AWS::FraudDetector::Detector.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAssociatedModels(IResolvable value)
`AWS::FraudDetector::Detector.AssociatedModels`.
|
void |
setAssociatedModels(List<Object> value)
`AWS::FraudDetector::Detector.AssociatedModels`.
|
void |
setDescription(String value)
`AWS::FraudDetector::Detector.Description`.
|
void |
setDetectorId(String value)
`AWS::FraudDetector::Detector.DetectorId`.
|
void |
setDetectorVersionStatus(String value)
`AWS::FraudDetector::Detector.DetectorVersionStatus`.
|
void |
setEventType(CfnDetector.EventTypeProperty value)
`AWS::FraudDetector::Detector.EventType`.
|
void |
setEventType(IResolvable value)
`AWS::FraudDetector::Detector.EventType`.
|
void |
setRuleExecutionMode(String value)
`AWS::FraudDetector::Detector.RuleExecutionMode`.
|
void |
setRules(IResolvable value)
`AWS::FraudDetector::Detector.Rules`.
|
void |
setRules(List<Object> value)
`AWS::FraudDetector::Detector.Rules`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnDetector(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnDetector(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnDetector(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnDetectorProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @Nullable public Object getAssociatedModels()
@Stability(value=Stable)
public void setAssociatedModels(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setAssociatedModels(@Nullable
List<Object> value)
@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrCreatedTime()
@Stability(value=Stable) @NotNull public String getAttrDetectorVersionId()
@Stability(value=Stable) @NotNull public String getAttrEventTypeArn()
@Stability(value=Stable) @NotNull public String getAttrEventTypeCreatedTime()
@Stability(value=Stable) @NotNull public String getAttrEventTypeLastUpdatedTime()
@Stability(value=Stable) @NotNull public String getAttrLastUpdatedTime()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @NotNull public String getDetectorId()
@Stability(value=Stable)
public void setDetectorId(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDetectorVersionStatus()
@Stability(value=Stable)
public void setDetectorVersionStatus(@Nullable
String value)
@Stability(value=Stable) @NotNull public Object getEventType()
@Stability(value=Stable)
public void setEventType(@NotNull
CfnDetector.EventTypeProperty value)
@Stability(value=Stable)
public void setEventType(@NotNull
IResolvable value)
@Stability(value=Stable) @Nullable public String getRuleExecutionMode()
@Stability(value=Stable)
public void setRuleExecutionMode(@Nullable
String value)
@Stability(value=Stable) @NotNull public Object getRules()
@Stability(value=Stable)
public void setRules(@NotNull
IResolvable value)
@Stability(value=Stable)
public void setRules(@NotNull
List<Object> value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.