Amazon Fraud Detector is no longer open to new customers as of November 7, 2025. For capabilities similar to Amazon Fraud Detector, explore Amazon SageMaker, AutoGluon, and AWS WAF.
Assign a variable type to a list
Every list you use in a rule must be associated with an Amazon Fraud Detector's Variable types variable type. By default, Amazon Fraud Detector assumes the list to be of FREE_FORM_TEXT variable type. It is important to note that a list that consists of IP addresses must be associated with IP_ADDRESS variable type.
You can associate your list with a variable type either at the time of list creation or anytime later. If you already associated your list with a variable type and want to change it later, you must create a new list. You can’t change the variable type of a list.
You can assign a variable type in the Amazon Fraud Detector console, using the API, using the AWS CLI, or using the AWS SDK.
Assign variable type to a list using the Amazon Fraud Detector console
To assign a variable type to a list
-
Open the AWS Management Console
and sign in to your account. Navigate to Amazon Fraud Detector. -
In the left navigation pane, choose Lists.
-
In the Lists page, select the list that you want to assign a variable type.
-
In your list details page, choose Actions and select Edit list.
-
In the Edit list box, select the variable type for your list.
-
Choose Save.
Assign variable type to a list using the AWS SDK for Python (Boto3)
The following example uses the UpdateList API operation
to assign a variable type to allow_ip_address list.
import boto3 fraudDetector = boto3.client('frauddetector') fraudDetector.update_list ( name = 'allow_ip_address', variableType = 'IP_ADDRESS' )