interface MonetizationConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.WAFv2.CfnRuleGroup.MonetizationConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswafv2#CfnRuleGroup_MonetizationConfigProperty |
Java | software.amazon.awscdk.services.wafv2.CfnRuleGroup.MonetizationConfigProperty |
Python | aws_cdk.aws_wafv2.CfnRuleGroup.MonetizationConfigProperty |
TypeScript | aws-cdk-lib » aws_wafv2 » CfnRuleGroup » MonetizationConfigProperty |
Configures monetization for the web ACL or rule group.
Example
// 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
| Name | Type | Description |
|---|---|---|
| crypto | IResolvable | Crypto | Configures cryptocurrency payment settings. |
| currency | string | The currency mode for monetization. |
cryptoConfig?
Type:
IResolvable | Crypto
(optional)
Configures cryptocurrency payment settings.
currencyMode?
Type:
string
(optional)
The currency mode for monetization.
Use REAL for production payments and TEST for testing with testnet currencies.

.NET
Go
Java
Python
TypeScript