@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.420Z") @Stability(value=Stable) public interface CfnVariableProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVariableProps.Builder
A builder for
CfnVariableProps |
static class |
CfnVariableProps.Jsii$Proxy
An implementation for
CfnVariableProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnVariableProps.Builder |
builder() |
String |
getDataSource()
The data source of the variable.
|
String |
getDataType()
The data type of the variable.
|
String |
getDefaultValue()
The default value of the variable.
|
default String |
getDescription()
The description of the variable.
|
String |
getName()
The name of the variable.
|
default List<CfnTag> |
getTags()
An array of key-value pairs to apply to this resource.
|
default String |
getVariableType()
The type of the variable.
|
@Stability(value=Stable) @NotNull String getDataSource()
Valid values: EVENT | EXTERNAL_MODEL_SCORE
When defining a variable within a detector, you can only use the EVENT value for DataSource when the Inline property is set to true. If the Inline property is set false, you can use either EVENT or MODEL_SCORE for DataSource.
@Stability(value=Stable) @NotNull String getDataType()
Valid data types: STRING | INTEGER | BOOLEAN | FLOAT
@Stability(value=Stable) @NotNull String getDefaultValue()
@Stability(value=Stable) @NotNull String getName()
Pattern: ^[0-9a-z_-]+$
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tag .
@Stability(value=Stable) @Nullable default String getVariableType()
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
@Stability(value=Stable) static CfnVariableProps.Builder builder()
CfnVariableProps.Builder of CfnVariablePropsCopyright © 2022. All rights reserved.