We recommend new projects start with resources from the AWS provider.
aws-native.frauddetector.Variable
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
A resource schema for a Variable in Amazon Fraud Detector.
Create Variable Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Variable(name: string, args: VariableArgs, opts?: CustomResourceOptions);
@overload
def Variable(resource_name: str,
args: VariableArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Variable(resource_name: str,
opts: Optional[ResourceOptions] = None,
data_source: Optional[VariableDataSource] = None,
data_type: Optional[VariableDataType] = None,
default_value: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
variable_type: Optional[VariableType] = None)
func NewVariable(ctx *Context, name string, args VariableArgs, opts ...ResourceOption) (*Variable, error)
public Variable(string name, VariableArgs args, CustomResourceOptions? opts = null)
public Variable(String name, VariableArgs args)
public Variable(String name, VariableArgs args, CustomResourceOptions options)
type: aws-native:frauddetector:Variable
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VariableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VariableArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VariableArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VariableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VariableArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Variable Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Variable resource accepts the following input properties:
- Data
Source Pulumi.Aws Native. Fraud Detector. Variable Data Source - The source of the data.
- Data
Type Pulumi.Aws Native. Fraud Detector. Variable Data Type - The data type.
- Default
Value string - The default value for the variable when no value is received.
- Description string
- The description.
- Name string
- The name of the variable.
- List<Pulumi.
Aws Native. Inputs. Tag> - Tags associated with this variable.
- Variable
Type Pulumi.Aws Native. Fraud Detector. Variable Type - The variable type. For more information see https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
- Data
Source VariableData Source - The source of the data.
- Data
Type VariableData Type - The data type.
- Default
Value string - The default value for the variable when no value is received.
- Description string
- The description.
- Name string
- The name of the variable.
- Tag
Args - Tags associated with this variable.
- Variable
Type VariableType - The variable type. For more information see https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
- data
Source VariableData Source - The source of the data.
- data
Type VariableData Type - The data type.
- default
Value String - The default value for the variable when no value is received.
- description String
- The description.
- name String
- The name of the variable.
- List<Tag>
- Tags associated with this variable.
- variable
Type VariableType - The variable type. For more information see https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
- data
Source VariableData Source - The source of the data.
- data
Type VariableData Type - The data type.
- default
Value string - The default value for the variable when no value is received.
- description string
- The description.
- name string
- The name of the variable.
- Tag[]
- Tags associated with this variable.
- variable
Type VariableType - The variable type. For more information see https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
- data_
source VariableData Source - The source of the data.
- data_
type VariableData Type - The data type.
- default_
value str - The default value for the variable when no value is received.
- description str
- The description.
- name str
- The name of the variable.
- Sequence[Tag
Args] - Tags associated with this variable.
- variable_
type VariableType - The variable type. For more information see https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
- data
Source "EVENT" | "EXTERNAL_MODEL_SCORE" - The source of the data.
- data
Type "STRING" | "INTEGER" | "FLOAT" | "BOOLEAN" - The data type.
- default
Value String - The default value for the variable when no value is received.
- description String
- The description.
- name String
- The name of the variable.
- List<Property Map>
- Tags associated with this variable.
- variable
Type "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" - The variable type. For more information see https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
Outputs
All input properties are implicitly available as output properties. Additionally, the Variable resource produces the following output properties:
- Arn string
- The ARN of the variable.
- Created
Time string - The time when the variable was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringTime - The time when the variable was last updated.
- Arn string
- The ARN of the variable.
- Created
Time string - The time when the variable was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated stringTime - The time when the variable was last updated.
- arn String
- The ARN of the variable.
- created
Time String - The time when the variable was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringTime - The time when the variable was last updated.
- arn string
- The ARN of the variable.
- created
Time string - The time when the variable was created.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated stringTime - The time when the variable was last updated.
- arn str
- The ARN of the variable.
- created_
time str - The time when the variable was created.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ strtime - The time when the variable was last updated.
- arn String
- The ARN of the variable.
- created
Time String - The time when the variable was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated StringTime - The time when the variable was last updated.
Supporting Types
Tag, TagArgs
VariableDataSource, VariableDataSourceArgs
- Event
- EVENT
- External
Model Score - EXTERNAL_MODEL_SCORE
- Variable
Data Source Event - EVENT
- Variable
Data Source External Model Score - EXTERNAL_MODEL_SCORE
- Event
- EVENT
- External
Model Score - EXTERNAL_MODEL_SCORE
- Event
- EVENT
- External
Model Score - EXTERNAL_MODEL_SCORE
- EVENT
- EVENT
- EXTERNAL_MODEL_SCORE
- EXTERNAL_MODEL_SCORE
- "EVENT"
- EVENT
- "EXTERNAL_MODEL_SCORE"
- EXTERNAL_MODEL_SCORE
VariableDataType, VariableDataTypeArgs
- String
- STRING
- Integer
- INTEGER
- Float
- FLOAT
- Boolean
- BOOLEAN
- Variable
Data Type String - STRING
- Variable
Data Type Integer - INTEGER
- Variable
Data Type Float - FLOAT
- Variable
Data Type Boolean - BOOLEAN
- String
- STRING
- Integer
- INTEGER
- Float
- FLOAT
- Boolean
- BOOLEAN
- String
- STRING
- Integer
- INTEGER
- Float
- FLOAT
- Boolean
- BOOLEAN
- STRING
- STRING
- INTEGER
- INTEGER
- FLOAT
- FLOAT
- BOOLEAN
- BOOLEAN
- "STRING"
- STRING
- "INTEGER"
- INTEGER
- "FLOAT"
- FLOAT
- "BOOLEAN"
- BOOLEAN
VariableType, VariableTypeArgs
- Auth
Code - AUTH_CODE
- Avs
- AVS
- Billing
Address L1 - BILLING_ADDRESS_L1
- Billing
Address L2 - BILLING_ADDRESS_L2
- Billing
City - BILLING_CITY
- Billing
Country - BILLING_COUNTRY
- Billing
Name - BILLING_NAME
- Billing
Phone - BILLING_PHONE
- Billing
State - BILLING_STATE
- Billing
Zip - BILLING_ZIP
- Card
Bin - CARD_BIN
- Categorical
- CATEGORICAL
- Currency
Code - CURRENCY_CODE
- Email
Address - EMAIL_ADDRESS
- Fingerprint
- FINGERPRINT
- Fraud
Label - FRAUD_LABEL
- Free
Form Text - FREE_FORM_TEXT
- Ip
Address - IP_ADDRESS
- Numeric
- NUMERIC
- Order
Id - ORDER_ID
- Payment
Type - PAYMENT_TYPE
- Phone
Number - PHONE_NUMBER
- Price
- PRICE
- Product
Category - PRODUCT_CATEGORY
- Shipping
Address L1 - SHIPPING_ADDRESS_L1
- Shipping
Address L2 - SHIPPING_ADDRESS_L2
- Shipping
City - SHIPPING_CITY
- Shipping
Country - SHIPPING_COUNTRY
- Shipping
Name - SHIPPING_NAME
- Shipping
Phone - SHIPPING_PHONE
- Shipping
State - SHIPPING_STATE
- Shipping
Zip - SHIPPING_ZIP
- Useragent
- USERAGENT
- Variable
Type Auth Code - AUTH_CODE
- Variable
Type Avs - AVS
- Variable
Type Billing Address L1 - BILLING_ADDRESS_L1
- Variable
Type Billing Address L2 - BILLING_ADDRESS_L2
- Variable
Type Billing City - BILLING_CITY
- Variable
Type Billing Country - BILLING_COUNTRY
- Variable
Type Billing Name - BILLING_NAME
- Variable
Type Billing Phone - BILLING_PHONE
- Variable
Type Billing State - BILLING_STATE
- Variable
Type Billing Zip - BILLING_ZIP
- Variable
Type Card Bin - CARD_BIN
- Variable
Type Categorical - CATEGORICAL
- Variable
Type Currency Code - CURRENCY_CODE
- Variable
Type Email Address - EMAIL_ADDRESS
- Variable
Type Fingerprint - FINGERPRINT
- Variable
Type Fraud Label - FRAUD_LABEL
- Variable
Type Free Form Text - FREE_FORM_TEXT
- Variable
Type Ip Address - IP_ADDRESS
- Variable
Type Numeric - NUMERIC
- Variable
Type Order Id - ORDER_ID
- Variable
Type Payment Type - PAYMENT_TYPE
- Variable
Type Phone Number - PHONE_NUMBER
- Variable
Type Price - PRICE
- Variable
Type Product Category - PRODUCT_CATEGORY
- Variable
Type Shipping Address L1 - SHIPPING_ADDRESS_L1
- Variable
Type Shipping Address L2 - SHIPPING_ADDRESS_L2
- Variable
Type Shipping City - SHIPPING_CITY
- Variable
Type Shipping Country - SHIPPING_COUNTRY
- Variable
Type Shipping Name - SHIPPING_NAME
- Variable
Type Shipping Phone - SHIPPING_PHONE
- Variable
Type Shipping State - SHIPPING_STATE
- Variable
Type Shipping Zip - SHIPPING_ZIP
- Variable
Type Useragent - USERAGENT
- Auth
Code - AUTH_CODE
- Avs
- AVS
- Billing
Address L1 - BILLING_ADDRESS_L1
- Billing
Address L2 - BILLING_ADDRESS_L2
- Billing
City - BILLING_CITY
- Billing
Country - BILLING_COUNTRY
- Billing
Name - BILLING_NAME
- Billing
Phone - BILLING_PHONE
- Billing
State - BILLING_STATE
- Billing
Zip - BILLING_ZIP
- Card
Bin - CARD_BIN
- Categorical
- CATEGORICAL
- Currency
Code - CURRENCY_CODE
- Email
Address - EMAIL_ADDRESS
- Fingerprint
- FINGERPRINT
- Fraud
Label - FRAUD_LABEL
- Free
Form Text - FREE_FORM_TEXT
- Ip
Address - IP_ADDRESS
- Numeric
- NUMERIC
- Order
Id - ORDER_ID
- Payment
Type - PAYMENT_TYPE
- Phone
Number - PHONE_NUMBER
- Price
- PRICE
- Product
Category - PRODUCT_CATEGORY
- Shipping
Address L1 - SHIPPING_ADDRESS_L1
- Shipping
Address L2 - SHIPPING_ADDRESS_L2
- Shipping
City - SHIPPING_CITY
- Shipping
Country - SHIPPING_COUNTRY
- Shipping
Name - SHIPPING_NAME
- Shipping
Phone - SHIPPING_PHONE
- Shipping
State - SHIPPING_STATE
- Shipping
Zip - SHIPPING_ZIP
- Useragent
- USERAGENT
- Auth
Code - AUTH_CODE
- Avs
- AVS
- Billing
Address L1 - BILLING_ADDRESS_L1
- Billing
Address L2 - BILLING_ADDRESS_L2
- Billing
City - BILLING_CITY
- Billing
Country - BILLING_COUNTRY
- Billing
Name - BILLING_NAME
- Billing
Phone - BILLING_PHONE
- Billing
State - BILLING_STATE
- Billing
Zip - BILLING_ZIP
- Card
Bin - CARD_BIN
- Categorical
- CATEGORICAL
- Currency
Code - CURRENCY_CODE
- Email
Address - EMAIL_ADDRESS
- Fingerprint
- FINGERPRINT
- Fraud
Label - FRAUD_LABEL
- Free
Form Text - FREE_FORM_TEXT
- Ip
Address - IP_ADDRESS
- Numeric
- NUMERIC
- Order
Id - ORDER_ID
- Payment
Type - PAYMENT_TYPE
- Phone
Number - PHONE_NUMBER
- Price
- PRICE
- Product
Category - PRODUCT_CATEGORY
- Shipping
Address L1 - SHIPPING_ADDRESS_L1
- Shipping
Address L2 - SHIPPING_ADDRESS_L2
- Shipping
City - SHIPPING_CITY
- Shipping
Country - SHIPPING_COUNTRY
- Shipping
Name - SHIPPING_NAME
- Shipping
Phone - SHIPPING_PHONE
- Shipping
State - SHIPPING_STATE
- Shipping
Zip - SHIPPING_ZIP
- Useragent
- USERAGENT
- AUTH_CODE
- AUTH_CODE
- AVS
- AVS
- BILLING_ADDRESS_L1
- BILLING_ADDRESS_L1
- BILLING_ADDRESS_L2
- BILLING_ADDRESS_L2
- BILLING_CITY
- BILLING_CITY
- BILLING_COUNTRY
- BILLING_COUNTRY
- BILLING_NAME
- BILLING_NAME
- BILLING_PHONE
- BILLING_PHONE
- BILLING_STATE
- BILLING_STATE
- BILLING_ZIP
- BILLING_ZIP
- CARD_BIN
- CARD_BIN
- CATEGORICAL
- CATEGORICAL
- CURRENCY_CODE
- CURRENCY_CODE
- EMAIL_ADDRESS
- EMAIL_ADDRESS
- FINGERPRINT
- FINGERPRINT
- FRAUD_LABEL
- FRAUD_LABEL
- FREE_FORM_TEXT
- FREE_FORM_TEXT
- IP_ADDRESS
- IP_ADDRESS
- NUMERIC
- NUMERIC
- ORDER_ID
- ORDER_ID
- PAYMENT_TYPE
- PAYMENT_TYPE
- PHONE_NUMBER
- PHONE_NUMBER
- PRICE
- PRICE
- PRODUCT_CATEGORY
- PRODUCT_CATEGORY
- SHIPPING_ADDRESS_L1
- SHIPPING_ADDRESS_L1
- SHIPPING_ADDRESS_L2
- SHIPPING_ADDRESS_L2
- SHIPPING_CITY
- SHIPPING_CITY
- SHIPPING_COUNTRY
- SHIPPING_COUNTRY
- SHIPPING_NAME
- SHIPPING_NAME
- SHIPPING_PHONE
- SHIPPING_PHONE
- SHIPPING_STATE
- SHIPPING_STATE
- SHIPPING_ZIP
- SHIPPING_ZIP
- USERAGENT
- USERAGENT
- "AUTH_CODE"
- AUTH_CODE
- "AVS"
- AVS
- "BILLING_ADDRESS_L1"
- BILLING_ADDRESS_L1
- "BILLING_ADDRESS_L2"
- BILLING_ADDRESS_L2
- "BILLING_CITY"
- BILLING_CITY
- "BILLING_COUNTRY"
- BILLING_COUNTRY
- "BILLING_NAME"
- BILLING_NAME
- "BILLING_PHONE"
- BILLING_PHONE
- "BILLING_STATE"
- BILLING_STATE
- "BILLING_ZIP"
- BILLING_ZIP
- "CARD_BIN"
- CARD_BIN
- "CATEGORICAL"
- CATEGORICAL
- "CURRENCY_CODE"
- CURRENCY_CODE
- "EMAIL_ADDRESS"
- EMAIL_ADDRESS
- "FINGERPRINT"
- FINGERPRINT
- "FRAUD_LABEL"
- FRAUD_LABEL
- "FREE_FORM_TEXT"
- FREE_FORM_TEXT
- "IP_ADDRESS"
- IP_ADDRESS
- "NUMERIC"
- NUMERIC
- "ORDER_ID"
- ORDER_ID
- "PAYMENT_TYPE"
- PAYMENT_TYPE
- "PHONE_NUMBER"
- PHONE_NUMBER
- "PRICE"
- PRICE
- "PRODUCT_CATEGORY"
- PRODUCT_CATEGORY
- "SHIPPING_ADDRESS_L1"
- SHIPPING_ADDRESS_L1
- "SHIPPING_ADDRESS_L2"
- SHIPPING_ADDRESS_L2
- "SHIPPING_CITY"
- SHIPPING_CITY
- "SHIPPING_COUNTRY"
- SHIPPING_COUNTRY
- "SHIPPING_NAME"
- SHIPPING_NAME
- "SHIPPING_PHONE"
- SHIPPING_PHONE
- "SHIPPING_STATE"
- SHIPPING_STATE
- "SHIPPING_ZIP"
- SHIPPING_ZIP
- "USERAGENT"
- USERAGENT
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.