---
type: resource-type
title: Variable
description: aws resource type AWS::FraudDetector::Variable
name: Variable
lexicon: aws
resource_type: AWS::FraudDetector::Variable
---
`AWS::FraudDetector::Variable`, a resource type of the aws lexicon.

## Properties

- `DataSource` (`"EVENT" | "EXTERNAL_MODEL_SCORE"`, required): The source of the data.
- `DataType` (`"BOOLEAN" | "FLOAT" | "INTEGER" | "STRING"`, required): The data type.
- `DefaultValue` (`string`, required): The default value for the variable when no value is received.
- `Name` (`string`, required): The name of the variable.
- `Arn` (`string`, optional): The ARN of the variable.
- `CreatedTime` (`string`, optional): The time when the variable was created.
- `Description` (`string`, optional): The description.
- `LastUpdatedTime` (`string`, optional): The time when the variable was last updated.
- `Tags` (`Variable_Tag[]`, optional): Tags associated with this variable.
- `VariableType` (`"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"`, optional): The variable type. For more information see https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types

## Attributes

- `Arn`
- `CreatedTime`
- `LastUpdatedTime`
