1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. frauddetector
  6. getVariable

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    A resource schema for a Variable in Amazon Fraud Detector.

    Using getVariable

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getVariable(args: GetVariableArgs, opts?: InvokeOptions): Promise<GetVariableResult>
    function getVariableOutput(args: GetVariableOutputArgs, opts?: InvokeOutputOptions): Output<GetVariableResult>
    def get_variable(arn: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetVariableResult
    def get_variable_output(arn: pulumi.Input[Optional[str]] = None,
                     opts: Optional[InvokeOutputOptions] = None) -> Output[GetVariableResult]
    func LookupVariable(ctx *Context, args *LookupVariableArgs, opts ...InvokeOption) (*LookupVariableResult, error)
    func LookupVariableOutput(ctx *Context, args *LookupVariableOutputArgs, opts ...InvokeOption) LookupVariableResultOutput

    > Note: This function is named LookupVariable in the Go SDK.

    public static class GetVariable 
    {
        public static Task<GetVariableResult> InvokeAsync(GetVariableArgs args, InvokeOptions? opts = null)
        public static Output<GetVariableResult> Invoke(GetVariableInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetVariableResult> Invoke(GetVariableInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetVariableResult> getVariable(GetVariableArgs args, InvokeOptions options)
    public static Output<GetVariableResult> getVariable(GetVariableArgs args, InvokeOptions options)
    public static Output<GetVariableResult> getVariable(GetVariableArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:frauddetector:getVariable
      arguments:
        # arguments dictionary
    data "aws-native_frauddetector_get_variable" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The ARN of the variable.
    Arn string
    The ARN of the variable.
    arn string
    The ARN of the variable.
    arn String
    The ARN of the variable.
    arn string
    The ARN of the variable.
    arn str
    The ARN of the variable.
    arn String
    The ARN of the variable.

    getVariable Result

    The following output properties are available:

    Arn string
    The ARN of the variable.
    CreatedTime string
    The time when the variable was created.
    DataSource Pulumi.AwsNative.FraudDetector.VariableDataSource
    The source of the data.
    DataType Pulumi.AwsNative.FraudDetector.VariableDataType
    The data type.
    DefaultValue string
    The default value for the variable when no value is received.
    Description string
    The description.
    LastUpdatedTime string
    The time when the variable was last updated.
    Tags List<Pulumi.AwsNative.Outputs.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
    Arn string
    The ARN of the variable.
    CreatedTime string
    The time when the variable was created.
    DataSource VariableDataSource
    The source of the data.
    DataType VariableDataType
    The data type.
    DefaultValue string
    The default value for the variable when no value is received.
    Description string
    The description.
    LastUpdatedTime string
    The time when the variable was last updated.
    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
    arn string
    The ARN of the variable.
    created_time string
    The time when the variable was created.
    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.
    last_updated_time string
    The time when the variable was last updated.
    tags list(object)
    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
    arn String
    The ARN of the variable.
    createdTime String
    The time when the variable was created.
    dataSource VariableDataSource
    The source of the data.
    dataType VariableDataType
    The data type.
    defaultValue String
    The default value for the variable when no value is received.
    description String
    The description.
    lastUpdatedTime String
    The time when the variable was last updated.
    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
    arn string
    The ARN of the variable.
    createdTime string
    The time when the variable was created.
    dataSource VariableDataSource
    The source of the data.
    dataType VariableDataType
    The data type.
    defaultValue string
    The default value for the variable when no value is received.
    description string
    The description.
    lastUpdatedTime string
    The time when the variable was last updated.
    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
    arn str
    The ARN of the variable.
    created_time str
    The time when the variable was created.
    data_source VariableDataSource
    The source of the data.
    data_type VariableDataType
    The data type.
    default_value str
    The default value for the variable when no value is received.
    description str
    The description.
    last_updated_time str
    The time when the variable was last updated.
    tags Sequence[root_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
    arn String
    The ARN of the variable.
    createdTime String
    The time when the variable was created.
    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.
    lastUpdatedTime String
    The time when the variable was last updated.
    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

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    VariableDataSource

    NameValue
    EventEVENT
    ExternalModelScoreEXTERNAL_MODEL_SCORE
    NameValue
    VariableDataSourceEventEVENT
    VariableDataSourceExternalModelScoreEXTERNAL_MODEL_SCORE
    Value
    EVENT
    EXTERNAL_MODEL_SCORE
    NameValue
    EventEVENT
    ExternalModelScoreEXTERNAL_MODEL_SCORE
    NameValue
    EventEVENT
    ExternalModelScoreEXTERNAL_MODEL_SCORE
    NameValue
    EVENTEVENT
    EXTERNAL_MODEL_SCOREEXTERNAL_MODEL_SCORE
    Value
    EVENT
    EXTERNAL_MODEL_SCORE

    VariableDataType

    NameValue
    StringSTRING
    IntegerINTEGER
    FloatFLOAT
    BooleanBOOLEAN
    NameValue
    VariableDataTypeStringSTRING
    VariableDataTypeIntegerINTEGER
    VariableDataTypeFloatFLOAT
    VariableDataTypeBooleanBOOLEAN
    Value
    STRING
    INTEGER
    FLOAT
    BOOLEAN
    NameValue
    StringSTRING
    IntegerINTEGER
    FloatFLOAT
    BooleanBOOLEAN
    NameValue
    StringSTRING
    IntegerINTEGER
    FloatFLOAT
    BooleanBOOLEAN
    NameValue
    STRINGSTRING
    INTEGERINTEGER
    FLOATFLOAT
    BOOLEANBOOLEAN
    Value
    STRING
    INTEGER
    FLOAT
    BOOLEAN

    VariableType

    NameValue
    AuthCodeAUTH_CODE
    AvsAVS
    BillingAddressL1BILLING_ADDRESS_L1
    BillingAddressL2BILLING_ADDRESS_L2
    BillingCityBILLING_CITY
    BillingCountryBILLING_COUNTRY
    BillingNameBILLING_NAME
    BillingPhoneBILLING_PHONE
    BillingStateBILLING_STATE
    BillingZipBILLING_ZIP
    CardBinCARD_BIN
    CategoricalCATEGORICAL
    CurrencyCodeCURRENCY_CODE
    EmailAddressEMAIL_ADDRESS
    FingerprintFINGERPRINT
    FraudLabelFRAUD_LABEL
    FreeFormTextFREE_FORM_TEXT
    IpAddressIP_ADDRESS
    NumericNUMERIC
    OrderIdORDER_ID
    PaymentTypePAYMENT_TYPE
    PhoneNumberPHONE_NUMBER
    PricePRICE
    ProductCategoryPRODUCT_CATEGORY
    ShippingAddressL1SHIPPING_ADDRESS_L1
    ShippingAddressL2SHIPPING_ADDRESS_L2
    ShippingCitySHIPPING_CITY
    ShippingCountrySHIPPING_COUNTRY
    ShippingNameSHIPPING_NAME
    ShippingPhoneSHIPPING_PHONE
    ShippingStateSHIPPING_STATE
    ShippingZipSHIPPING_ZIP
    UseragentUSERAGENT
    NameValue
    VariableTypeAuthCodeAUTH_CODE
    VariableTypeAvsAVS
    VariableTypeBillingAddressL1BILLING_ADDRESS_L1
    VariableTypeBillingAddressL2BILLING_ADDRESS_L2
    VariableTypeBillingCityBILLING_CITY
    VariableTypeBillingCountryBILLING_COUNTRY
    VariableTypeBillingNameBILLING_NAME
    VariableTypeBillingPhoneBILLING_PHONE
    VariableTypeBillingStateBILLING_STATE
    VariableTypeBillingZipBILLING_ZIP
    VariableTypeCardBinCARD_BIN
    VariableTypeCategoricalCATEGORICAL
    VariableTypeCurrencyCodeCURRENCY_CODE
    VariableTypeEmailAddressEMAIL_ADDRESS
    VariableTypeFingerprintFINGERPRINT
    VariableTypeFraudLabelFRAUD_LABEL
    VariableTypeFreeFormTextFREE_FORM_TEXT
    VariableTypeIpAddressIP_ADDRESS
    VariableTypeNumericNUMERIC
    VariableTypeOrderIdORDER_ID
    VariableTypePaymentTypePAYMENT_TYPE
    VariableTypePhoneNumberPHONE_NUMBER
    VariableTypePricePRICE
    VariableTypeProductCategoryPRODUCT_CATEGORY
    VariableTypeShippingAddressL1SHIPPING_ADDRESS_L1
    VariableTypeShippingAddressL2SHIPPING_ADDRESS_L2
    VariableTypeShippingCitySHIPPING_CITY
    VariableTypeShippingCountrySHIPPING_COUNTRY
    VariableTypeShippingNameSHIPPING_NAME
    VariableTypeShippingPhoneSHIPPING_PHONE
    VariableTypeShippingStateSHIPPING_STATE
    VariableTypeShippingZipSHIPPING_ZIP
    VariableTypeUseragentUSERAGENT
    Value
    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
    NameValue
    AuthCodeAUTH_CODE
    AvsAVS
    BillingAddressL1BILLING_ADDRESS_L1
    BillingAddressL2BILLING_ADDRESS_L2
    BillingCityBILLING_CITY
    BillingCountryBILLING_COUNTRY
    BillingNameBILLING_NAME
    BillingPhoneBILLING_PHONE
    BillingStateBILLING_STATE
    BillingZipBILLING_ZIP
    CardBinCARD_BIN
    CategoricalCATEGORICAL
    CurrencyCodeCURRENCY_CODE
    EmailAddressEMAIL_ADDRESS
    FingerprintFINGERPRINT
    FraudLabelFRAUD_LABEL
    FreeFormTextFREE_FORM_TEXT
    IpAddressIP_ADDRESS
    NumericNUMERIC
    OrderIdORDER_ID
    PaymentTypePAYMENT_TYPE
    PhoneNumberPHONE_NUMBER
    PricePRICE
    ProductCategoryPRODUCT_CATEGORY
    ShippingAddressL1SHIPPING_ADDRESS_L1
    ShippingAddressL2SHIPPING_ADDRESS_L2
    ShippingCitySHIPPING_CITY
    ShippingCountrySHIPPING_COUNTRY
    ShippingNameSHIPPING_NAME
    ShippingPhoneSHIPPING_PHONE
    ShippingStateSHIPPING_STATE
    ShippingZipSHIPPING_ZIP
    UseragentUSERAGENT
    NameValue
    AuthCodeAUTH_CODE
    AvsAVS
    BillingAddressL1BILLING_ADDRESS_L1
    BillingAddressL2BILLING_ADDRESS_L2
    BillingCityBILLING_CITY
    BillingCountryBILLING_COUNTRY
    BillingNameBILLING_NAME
    BillingPhoneBILLING_PHONE
    BillingStateBILLING_STATE
    BillingZipBILLING_ZIP
    CardBinCARD_BIN
    CategoricalCATEGORICAL
    CurrencyCodeCURRENCY_CODE
    EmailAddressEMAIL_ADDRESS
    FingerprintFINGERPRINT
    FraudLabelFRAUD_LABEL
    FreeFormTextFREE_FORM_TEXT
    IpAddressIP_ADDRESS
    NumericNUMERIC
    OrderIdORDER_ID
    PaymentTypePAYMENT_TYPE
    PhoneNumberPHONE_NUMBER
    PricePRICE
    ProductCategoryPRODUCT_CATEGORY
    ShippingAddressL1SHIPPING_ADDRESS_L1
    ShippingAddressL2SHIPPING_ADDRESS_L2
    ShippingCitySHIPPING_CITY
    ShippingCountrySHIPPING_COUNTRY
    ShippingNameSHIPPING_NAME
    ShippingPhoneSHIPPING_PHONE
    ShippingStateSHIPPING_STATE
    ShippingZipSHIPPING_ZIP
    UseragentUSERAGENT
    NameValue
    AUTH_CODEAUTH_CODE
    AVSAVS
    BILLING_ADDRESS_L1BILLING_ADDRESS_L1
    BILLING_ADDRESS_L2BILLING_ADDRESS_L2
    BILLING_CITYBILLING_CITY
    BILLING_COUNTRYBILLING_COUNTRY
    BILLING_NAMEBILLING_NAME
    BILLING_PHONEBILLING_PHONE
    BILLING_STATEBILLING_STATE
    BILLING_ZIPBILLING_ZIP
    CARD_BINCARD_BIN
    CATEGORICALCATEGORICAL
    CURRENCY_CODECURRENCY_CODE
    EMAIL_ADDRESSEMAIL_ADDRESS
    FINGERPRINTFINGERPRINT
    FRAUD_LABELFRAUD_LABEL
    FREE_FORM_TEXTFREE_FORM_TEXT
    IP_ADDRESSIP_ADDRESS
    NUMERICNUMERIC
    ORDER_IDORDER_ID
    PAYMENT_TYPEPAYMENT_TYPE
    PHONE_NUMBERPHONE_NUMBER
    PRICEPRICE
    PRODUCT_CATEGORYPRODUCT_CATEGORY
    SHIPPING_ADDRESS_L1SHIPPING_ADDRESS_L1
    SHIPPING_ADDRESS_L2SHIPPING_ADDRESS_L2
    SHIPPING_CITYSHIPPING_CITY
    SHIPPING_COUNTRYSHIPPING_COUNTRY
    SHIPPING_NAMESHIPPING_NAME
    SHIPPING_PHONESHIPPING_PHONE
    SHIPPING_STATESHIPPING_STATE
    SHIPPING_ZIPSHIPPING_ZIP
    USERAGENTUSERAGENT
    Value
    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

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

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

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial