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:
- DataSource Pulumi.Aws Native. Fraud Detector. Variable Data Source 
- The source of the data.
- DataType Pulumi.Aws Native. Fraud Detector. Variable Data Type 
- The data type.
- DefaultValue 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.
- VariableType 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
- DataSource VariableData Source 
- The source of the data.
- DataType VariableData Type 
- The data type.
- DefaultValue string
- The default value for the variable when no value is received.
- Description string
- The description.
- Name string
- The name of the variable.
- 
TagArgs 
- Tags associated with this variable.
- VariableType VariableType 
- The variable type. For more information see https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
- dataSource VariableData Source 
- The source of the data.
- dataType VariableData Type 
- The data type.
- defaultValue 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.
- variableType VariableType 
- The variable type. For more information see https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
- dataSource VariableData Source 
- The source of the data.
- dataType VariableData Type 
- The data type.
- defaultValue 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.
- variableType 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[TagArgs] 
- 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
- dataSource "EVENT" | "EXTERNAL_MODEL_SCORE"
- The source of the data.
- dataType "STRING" | "INTEGER" | "FLOAT" | "BOOLEAN"
- The data type.
- defaultValue 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.
- 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"
- 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.
- CreatedTime string
- The time when the variable was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdated stringTime 
- The time when the variable was last updated.
- Arn string
- The ARN of the variable.
- CreatedTime string
- The time when the variable was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdated stringTime 
- The time when the variable was last updated.
- arn String
- The ARN of the variable.
- createdTime String
- The time when the variable was created.
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdated StringTime 
- The time when the variable was last updated.
- arn string
- The ARN of the variable.
- createdTime string
- The time when the variable was created.
- id string
- The provider-assigned unique ID for this managed resource.
- lastUpdated 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.
- createdTime String
- The time when the variable was created.
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdated StringTime 
- The time when the variable was last updated.
Supporting Types
Tag, TagArgs  
VariableDataSource, VariableDataSourceArgs      
- Event
- EVENT
- ExternalModel Score 
- EXTERNAL_MODEL_SCORE
- VariableData Source Event 
- EVENT
- VariableData Source External Model Score 
- EXTERNAL_MODEL_SCORE
- Event
- EVENT
- ExternalModel Score 
- EXTERNAL_MODEL_SCORE
- Event
- EVENT
- ExternalModel 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
- VariableData Type String 
- STRING
- VariableData Type Integer 
- INTEGER
- VariableData Type Float 
- FLOAT
- VariableData 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    
- AuthCode 
- AUTH_CODE
- Avs
- AVS
- BillingAddress L1 
- BILLING_ADDRESS_L1
- BillingAddress L2 
- BILLING_ADDRESS_L2
- BillingCity 
- BILLING_CITY
- BillingCountry 
- BILLING_COUNTRY
- BillingName 
- BILLING_NAME
- BillingPhone 
- BILLING_PHONE
- BillingState 
- BILLING_STATE
- BillingZip 
- BILLING_ZIP
- CardBin 
- CARD_BIN
- Categorical
- CATEGORICAL
- CurrencyCode 
- CURRENCY_CODE
- EmailAddress 
- EMAIL_ADDRESS
- Fingerprint
- FINGERPRINT
- FraudLabel 
- FRAUD_LABEL
- FreeForm Text 
- FREE_FORM_TEXT
- IpAddress 
- IP_ADDRESS
- Numeric
- NUMERIC
- OrderId 
- ORDER_ID
- PaymentType 
- PAYMENT_TYPE
- PhoneNumber 
- PHONE_NUMBER
- Price
- PRICE
- ProductCategory 
- PRODUCT_CATEGORY
- ShippingAddress L1 
- SHIPPING_ADDRESS_L1
- ShippingAddress L2 
- SHIPPING_ADDRESS_L2
- ShippingCity 
- SHIPPING_CITY
- ShippingCountry 
- SHIPPING_COUNTRY
- ShippingName 
- SHIPPING_NAME
- ShippingPhone 
- SHIPPING_PHONE
- ShippingState 
- SHIPPING_STATE
- ShippingZip 
- SHIPPING_ZIP
- Useragent
- USERAGENT
- VariableType Auth Code 
- AUTH_CODE
- VariableType Avs 
- AVS
- VariableType Billing Address L1 
- BILLING_ADDRESS_L1
- VariableType Billing Address L2 
- BILLING_ADDRESS_L2
- VariableType Billing City 
- BILLING_CITY
- VariableType Billing Country 
- BILLING_COUNTRY
- VariableType Billing Name 
- BILLING_NAME
- VariableType Billing Phone 
- BILLING_PHONE
- VariableType Billing State 
- BILLING_STATE
- VariableType Billing Zip 
- BILLING_ZIP
- VariableType Card Bin 
- CARD_BIN
- VariableType Categorical 
- CATEGORICAL
- VariableType Currency Code 
- CURRENCY_CODE
- VariableType Email Address 
- EMAIL_ADDRESS
- VariableType Fingerprint 
- FINGERPRINT
- VariableType Fraud Label 
- FRAUD_LABEL
- VariableType Free Form Text 
- FREE_FORM_TEXT
- VariableType Ip Address 
- IP_ADDRESS
- VariableType Numeric 
- NUMERIC
- VariableType Order Id 
- ORDER_ID
- VariableType Payment Type 
- PAYMENT_TYPE
- VariableType Phone Number 
- PHONE_NUMBER
- VariableType Price 
- PRICE
- VariableType Product Category 
- PRODUCT_CATEGORY
- VariableType Shipping Address L1 
- SHIPPING_ADDRESS_L1
- VariableType Shipping Address L2 
- SHIPPING_ADDRESS_L2
- VariableType Shipping City 
- SHIPPING_CITY
- VariableType Shipping Country 
- SHIPPING_COUNTRY
- VariableType Shipping Name 
- SHIPPING_NAME
- VariableType Shipping Phone 
- SHIPPING_PHONE
- VariableType Shipping State 
- SHIPPING_STATE
- VariableType Shipping Zip 
- SHIPPING_ZIP
- VariableType Useragent 
- USERAGENT
- AuthCode 
- AUTH_CODE
- Avs
- AVS
- BillingAddress L1 
- BILLING_ADDRESS_L1
- BillingAddress L2 
- BILLING_ADDRESS_L2
- BillingCity 
- BILLING_CITY
- BillingCountry 
- BILLING_COUNTRY
- BillingName 
- BILLING_NAME
- BillingPhone 
- BILLING_PHONE
- BillingState 
- BILLING_STATE
- BillingZip 
- BILLING_ZIP
- CardBin 
- CARD_BIN
- Categorical
- CATEGORICAL
- CurrencyCode 
- CURRENCY_CODE
- EmailAddress 
- EMAIL_ADDRESS
- Fingerprint
- FINGERPRINT
- FraudLabel 
- FRAUD_LABEL
- FreeForm Text 
- FREE_FORM_TEXT
- IpAddress 
- IP_ADDRESS
- Numeric
- NUMERIC
- OrderId 
- ORDER_ID
- PaymentType 
- PAYMENT_TYPE
- PhoneNumber 
- PHONE_NUMBER
- Price
- PRICE
- ProductCategory 
- PRODUCT_CATEGORY
- ShippingAddress L1 
- SHIPPING_ADDRESS_L1
- ShippingAddress L2 
- SHIPPING_ADDRESS_L2
- ShippingCity 
- SHIPPING_CITY
- ShippingCountry 
- SHIPPING_COUNTRY
- ShippingName 
- SHIPPING_NAME
- ShippingPhone 
- SHIPPING_PHONE
- ShippingState 
- SHIPPING_STATE
- ShippingZip 
- SHIPPING_ZIP
- Useragent
- USERAGENT
- AuthCode 
- AUTH_CODE
- Avs
- AVS
- BillingAddress L1 
- BILLING_ADDRESS_L1
- BillingAddress L2 
- BILLING_ADDRESS_L2
- BillingCity 
- BILLING_CITY
- BillingCountry 
- BILLING_COUNTRY
- BillingName 
- BILLING_NAME
- BillingPhone 
- BILLING_PHONE
- BillingState 
- BILLING_STATE
- BillingZip 
- BILLING_ZIP
- CardBin 
- CARD_BIN
- Categorical
- CATEGORICAL
- CurrencyCode 
- CURRENCY_CODE
- EmailAddress 
- EMAIL_ADDRESS
- Fingerprint
- FINGERPRINT
- FraudLabel 
- FRAUD_LABEL
- FreeForm Text 
- FREE_FORM_TEXT
- IpAddress 
- IP_ADDRESS
- Numeric
- NUMERIC
- OrderId 
- ORDER_ID
- PaymentType 
- PAYMENT_TYPE
- PhoneNumber 
- PHONE_NUMBER
- Price
- PRICE
- ProductCategory 
- PRODUCT_CATEGORY
- ShippingAddress L1 
- SHIPPING_ADDRESS_L1
- ShippingAddress L2 
- SHIPPING_ADDRESS_L2
- ShippingCity 
- SHIPPING_CITY
- ShippingCountry 
- SHIPPING_COUNTRY
- ShippingName 
- SHIPPING_NAME
- ShippingPhone 
- SHIPPING_PHONE
- ShippingState 
- SHIPPING_STATE
- ShippingZip 
- 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.