Interface CfnDetector.EventVariableProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDetector.EventVariableProperty.Jsii$Proxy
- Enclosing class:
CfnDetector
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.*;
EventVariableProperty eventVariableProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDetector.EventVariablePropertystatic final classAn implementation forCfnDetector.EventVariableProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetArn()The event variable ARN.default StringTimestamp for when the event variable was created.default StringThe data source of the event variable.default StringThe data type of the event variable.default StringThe default value of the event variable.default StringThe description of the event variable.default ObjectIndicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack.default StringTimestamp for when the event variable was last updated.default StringgetName()The name of the event variable.getTags()An array of key-value pairs to apply to this resource.default StringThe type of event variable.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArn
The event variable ARN.- See Also:
-
getCreatedTime
Timestamp for when the event variable was created.- See Also:
-
getDataSource
The data source of the event variable.Valid values:
EVENT | EXTERNAL_MODEL_SCOREWhen defining a variable within a detector, you can only use the
EVENTvalue for DataSource when the Inline property is set to true. If the Inline property is set false, you can use eitherEVENTorMODEL_SCOREfor DataSource.- See Also:
-
getDataType
The data type of the event variable.Valid values:
STRING | INTEGER | BOOLEAN | FLOAT- See Also:
-
getDefaultValue
The default value of the event variable.This is required if you are providing the details of your variables instead of the ARN.
- See Also:
-
getDescription
The description of the event variable.- See Also:
-
getInline
Indicates whether the resource is defined within this CloudFormation template and impacts the create, update, and delete behavior of the stack.If the value is
true, CloudFormation will create/update/delete the resource when creating/updating/deleting the stack. If the value isfalse, CloudFormation will validate that the object exists and then use it within the resource without making changes to the object.For example, when creating
AWS::FraudDetector::Detectoryou must define at least two variables. You can setInline=truefor these variables and CloudFormation will create/update/delete the variables as part of stack operations. However, if you setInline=false, CloudFormation will associate the variables to your detector but not execute any changes to the variables.Returns union: either
BooleanorIResolvable- See Also:
-
getLastUpdatedTime
Timestamp for when the event variable was last updated.- See Also:
-
getName
The name of the event variable.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
getVariableType
The type of event variable.For more information, see Variable types .
- See Also:
-
builder
-