Interface CfnVariableProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVariableProps.Jsii$Proxy
CfnVariable.
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.*;
CfnVariableProps cfnVariableProps = CfnVariableProps.builder()
.dataSource("dataSource")
.dataType("dataType")
.defaultValue("defaultValue")
.name("name")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.variableType("variableType")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVariablePropsstatic final classAn implementation forCfnVariableProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnVariableProps.Builderbuilder()The data source of the variable.The data type of the variable.The default value of the variable.default StringThe description of the variable.getName()The name of the variable.getTags()An array of key-value pairs to apply to this resource.default StringThe type of the variable.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataSource
The data source of the 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. -
getDataType
The data type of the variable.Valid data types:
STRING | INTEGER | BOOLEAN | FLOAT -
getDefaultValue
The default value of the variable. -
getName
The name of the variable.Pattern:
^[0-9a-z_-]+$ -
getDescription
The description of the variable. -
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
getVariableType
The type of the variable. For more information see Variable types .Valid Values:
AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT -
builder
- Returns:
- a
CfnVariableProps.BuilderofCfnVariableProps
-