Class: Aws::WAFV2::Types::MonetizationConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb

Overview

The monetization configuration for a web ACL or rule group. Specifies the payment settlement options (self-managed crypto wallets in CryptoConfig, a connected account in ConnectedAccountConfigs, or both) and the currency mode for artificial intelligence (AI) bot monetization. You must provide this configuration when any rule in the web ACL or rule group uses the Monetize action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#connected_account_configs ⇒ Array<Types::ConnectedAccountConfig>

The connected account configurations for settling AI bot payments through a connected account with a supported third-party payment provider (Stripe), as an alternative to the self-managed wallets in CryptoConfig. You can provide CryptoConfig, ConnectedAccountConfigs, or both; however, a given blockchain network (chain) can be used by only one of them. Currently supports exactly one connected account.

Returns:



8333
8334
8335
8336
8337
8338
8339
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 8333

class MonetizationConfig < Struct.new(
  :crypto_config,
  :connected_account_configs,
  :currency_mode)
  SENSITIVE = []
  include Aws::Structure
end

#crypto_config ⇒ Types::CryptoConfig

The cryptocurrency payment configuration, including the blockchain networks and wallet addresses where you receive payments.

Returns:



8333
8334
8335
8336
8337
8338
8339
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 8333

class MonetizationConfig < Struct.new(
  :crypto_config,
  :connected_account_configs,
  :currency_mode)
  SENSITIVE = []
  include Aws::Structure
end

#currency_mode ⇒ String

Specifies whether the configuration uses real or test currency. If not specified, defaults to REAL. Connected account configurations support production settlement only; TEST is not supported when ConnectedAccountConfigs is present.

Valid values:

  • REAL - Settle payments in USDC on production blockchain networks (Base, Solana).

  • TEST - Settle on testnet networks (Base Sepolia, Solana Devnet) with tokens that have no monetary value.

Returns:

  • (String)


8333
8334
8335
8336
8337
8338
8339
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 8333

class MonetizationConfig < Struct.new(
  :crypto_config,
  :connected_account_configs,
  :currency_mode)
  SENSITIVE = []
  include Aws::Structure
end