1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. frauddetector
  5. Variable

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.frauddetector.Variable

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

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 This property is required. string
The unique name of the resource.
args This property is required. VariableArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. VariableArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. VariableArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 This property is required. Pulumi.AwsNative.FraudDetector.VariableDataSource
The source of the data.
DataType This property is required. Pulumi.AwsNative.FraudDetector.VariableDataType
The data type.
DefaultValue This property is required. string
The default value for the variable when no value is received.
Description string
The description.
Name string
The name of the variable.
Tags List<Pulumi.AwsNative.Inputs.Tag>
Tags associated with this variable.
VariableType Pulumi.AwsNative.FraudDetector.VariableType
The variable type. For more information see https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
DataSource This property is required. VariableDataSource
The source of the data.
DataType This property is required. VariableDataType
The data type.
DefaultValue This property is required. string
The default value for the variable when no value is received.
Description string
The description.
Name string
The name of the variable.
Tags 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 This property is required. VariableDataSource
The source of the data.
dataType This property is required. VariableDataType
The data type.
defaultValue This property is required. String
The default value for the variable when no value is received.
description String
The description.
name String
The name of the variable.
tags 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 This property is required. VariableDataSource
The source of the data.
dataType This property is required. VariableDataType
The data type.
defaultValue This property is required. string
The default value for the variable when no value is received.
description string
The description.
name string
The name of the variable.
tags 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 This property is required. VariableDataSource
The source of the data.
data_type This property is required. VariableDataType
The data type.
default_value This property is required. str
The default value for the variable when no value is received.
description str
The description.
name str
The name of the variable.
tags 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 This property is required. "EVENT" | "EXTERNAL_MODEL_SCORE"
The source of the data.
dataType This property is required. "STRING" | "INTEGER" | "FLOAT" | "BOOLEAN"
The data type.
defaultValue This property is required. String
The default value for the variable when no value is received.
description String
The description.
name String
The name of the variable.
tags 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.
LastUpdatedTime string
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.
LastUpdatedTime string
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.
lastUpdatedTime String
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.
lastUpdatedTime string
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_time str
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.
lastUpdatedTime String
The time when the variable was last updated.

Supporting Types

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

VariableDataSource
, VariableDataSourceArgs

Event
EVENT
ExternalModelScore
EXTERNAL_MODEL_SCORE
VariableDataSourceEvent
EVENT
VariableDataSourceExternalModelScore
EXTERNAL_MODEL_SCORE
Event
EVENT
ExternalModelScore
EXTERNAL_MODEL_SCORE
Event
EVENT
ExternalModelScore
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
VariableDataTypeString
STRING
VariableDataTypeInteger
INTEGER
VariableDataTypeFloat
FLOAT
VariableDataTypeBoolean
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
BillingAddressL1
BILLING_ADDRESS_L1
BillingAddressL2
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
FreeFormText
FREE_FORM_TEXT
IpAddress
IP_ADDRESS
Numeric
NUMERIC
OrderId
ORDER_ID
PaymentType
PAYMENT_TYPE
PhoneNumber
PHONE_NUMBER
Price
PRICE
ProductCategory
PRODUCT_CATEGORY
ShippingAddressL1
SHIPPING_ADDRESS_L1
ShippingAddressL2
SHIPPING_ADDRESS_L2
ShippingCity
SHIPPING_CITY
ShippingCountry
SHIPPING_COUNTRY
ShippingName
SHIPPING_NAME
ShippingPhone
SHIPPING_PHONE
ShippingState
SHIPPING_STATE
ShippingZip
SHIPPING_ZIP
Useragent
USERAGENT
VariableTypeAuthCode
AUTH_CODE
VariableTypeAvs
AVS
VariableTypeBillingAddressL1
BILLING_ADDRESS_L1
VariableTypeBillingAddressL2
BILLING_ADDRESS_L2
VariableTypeBillingCity
BILLING_CITY
VariableTypeBillingCountry
BILLING_COUNTRY
VariableTypeBillingName
BILLING_NAME
VariableTypeBillingPhone
BILLING_PHONE
VariableTypeBillingState
BILLING_STATE
VariableTypeBillingZip
BILLING_ZIP
VariableTypeCardBin
CARD_BIN
VariableTypeCategorical
CATEGORICAL
VariableTypeCurrencyCode
CURRENCY_CODE
VariableTypeEmailAddress
EMAIL_ADDRESS
VariableTypeFingerprint
FINGERPRINT
VariableTypeFraudLabel
FRAUD_LABEL
VariableTypeFreeFormText
FREE_FORM_TEXT
VariableTypeIpAddress
IP_ADDRESS
VariableTypeNumeric
NUMERIC
VariableTypeOrderId
ORDER_ID
VariableTypePaymentType
PAYMENT_TYPE
VariableTypePhoneNumber
PHONE_NUMBER
VariableTypePrice
PRICE
VariableTypeProductCategory
PRODUCT_CATEGORY
VariableTypeShippingAddressL1
SHIPPING_ADDRESS_L1
VariableTypeShippingAddressL2
SHIPPING_ADDRESS_L2
VariableTypeShippingCity
SHIPPING_CITY
VariableTypeShippingCountry
SHIPPING_COUNTRY
VariableTypeShippingName
SHIPPING_NAME
VariableTypeShippingPhone
SHIPPING_PHONE
VariableTypeShippingState
SHIPPING_STATE
VariableTypeShippingZip
SHIPPING_ZIP
VariableTypeUseragent
USERAGENT
AuthCode
AUTH_CODE
Avs
AVS
BillingAddressL1
BILLING_ADDRESS_L1
BillingAddressL2
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
FreeFormText
FREE_FORM_TEXT
IpAddress
IP_ADDRESS
Numeric
NUMERIC
OrderId
ORDER_ID
PaymentType
PAYMENT_TYPE
PhoneNumber
PHONE_NUMBER
Price
PRICE
ProductCategory
PRODUCT_CATEGORY
ShippingAddressL1
SHIPPING_ADDRESS_L1
ShippingAddressL2
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
BillingAddressL1
BILLING_ADDRESS_L1
BillingAddressL2
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
FreeFormText
FREE_FORM_TEXT
IpAddress
IP_ADDRESS
Numeric
NUMERIC
OrderId
ORDER_ID
PaymentType
PAYMENT_TYPE
PhoneNumber
PHONE_NUMBER
Price
PRICE
ProductCategory
PRODUCT_CATEGORY
ShippingAddressL1
SHIPPING_ADDRESS_L1
ShippingAddressL2
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.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi