Class CfnVariableMixinProps
Properties for CfnVariablePropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.FraudDetector
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnVariableMixinProps : ICfnVariableMixinProps
Syntax (vb)
Public Class CfnVariableMixinProps Implements ICfnVariableMixinProps
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.CfnPropertyMixins.AWS.FraudDetector;
var cfnVariableMixinProps = new CfnVariableMixinProps {
DataSource = "dataSource",
DataType = "dataType",
DefaultValue = "defaultValue",
Description = "description",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VariableType = "variableType"
};
Synopsis
Constructors
| CfnVariableMixinProps() | Properties for CfnVariablePropsMixin. |
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
CfnVariableMixinProps()
Properties for CfnVariablePropsMixin.
public CfnVariableMixinProps()
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.CfnPropertyMixins.AWS.FraudDetector;
var cfnVariableMixinProps = new CfnVariableMixinProps {
DataSource = "dataSource",
DataType = "dataType",
DefaultValue = "defaultValue",
Description = "description",
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VariableType = "variableType"
};
Properties
DataSource
The data source of the variable.
public string? DataSource { get; set; }
Property Value
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
Remarks
Valid data types: STRING | INTEGER | BOOLEAN | FLOAT
DefaultValue
The default value of the variable.
public string? DefaultValue { get; set; }
Property Value
Remarks
Description
The description of the variable.
public string? Description { get; set; }
Property Value
Remarks
Name
The name of the variable.
public string? Name { get; set; }
Property Value
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
VariableType
The type of the variable. For more information see Variable types .
public string? VariableType { get; set; }
Property Value
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