Class CfnVariableProps
Properties for defining a CfnVariable
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.FraudDetector
Assembly: Amazon.CDK.AWS.FraudDetector.dll
Syntax (csharp)
public class CfnVariableProps : Object, ICfnVariableProps
Syntax (vb)
Public Class CfnVariableProps
Inherits Object
Implements ICfnVariableProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FraudDetector;
var cfnVariableProps = new CfnVariableProps {
DataSource = "dataSource",
DataType = "dataType",
DefaultValue = "defaultValue",
Name = "name",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VariableType = "variableType"
};
Synopsis
Constructors
CfnVariableProps() |
Properties
DataSource | The data source of the variable. |
DataType | The data type of the variable. |
DefaultValue | The default value of the variable. |
Description | The description of the variable. |
Name | The name of the variable. |
Tags | An array of key-value pairs to apply to this resource. |
VariableType | The type of the variable. For more information see Variable types . |
Constructors
CfnVariableProps()
public CfnVariableProps()
Properties
DataSource
The data source of the variable.
public string DataSource { get; set; }
Property Value
System.String
Remarks
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.
DataType
The data type of the variable.
public string DataType { get; set; }
Property Value
System.String
Remarks
Valid data types: STRING | INTEGER | BOOLEAN | FLOAT
DefaultValue
The default value of the variable.
public string DefaultValue { get; set; }
Property Value
System.String
Remarks
Description
The description of the variable.
public string Description { get; set; }
Property Value
System.String
Remarks
Name
The name of the variable.
public string Name { get; set; }
Property Value
System.String
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tag .
VariableType
The type of the variable. For more information see Variable types .
public string VariableType { get; set; }
Property Value
System.String
Remarks
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