# MonetizationConfigProperty

Configures monetization for the web ACL or rule group.

- Source: Generated code
- Type last changed: v2.261.0 · 2 Jul 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafv2 as wafv2 } from 'aws-cdk-lib';
const monetizationConfigProperty: wafv2.CfnRuleGroup.MonetizationConfigProperty = {
  cryptoConfig: {
    paymentNetworks: [{
      chain: 'chain',
      prices: [{
        amount: 'amount',
        currency: 'currency',
      }],
      walletAddress: 'walletAddress',
    }],
  },
  currencyMode: 'currencyMode',
};
```

## Properties

- `cryptoConfig`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRuleGroup.CryptoConfigProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_wafv2.CfnRuleGroup.CryptoConfigProperty.html) — Configures cryptocurrency payment settings.

- `currencyMode`: string — The currency mode for monetization.

  Use REAL for production payments and TEST for testing with testnet currencies.
