Class: Aws::WAFV2::Types::MonetizationConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::MonetizationConfig
- 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
-
#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. -
#crypto_config ⇒ Types::CryptoConfig
The cryptocurrency payment configuration, including the blockchain networks and wallet addresses where you receive payments.
-
#currency_mode ⇒ String
Specifies whether the configuration uses real or test currency.
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.
7266 7267 7268 7269 7270 7271 7272 |
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 7266 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.
7266 7267 7268 7269 7270 7271 7272 |
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 7266 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.
7266 7267 7268 7269 7270 7271 7272 |
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 7266 class MonetizationConfig < Struct.new( :crypto_config, :connected_account_configs, :currency_mode) SENSITIVE = [] include Aws::Structure end |