MonetizationConfigProperty Struct
Configures monetization for the web ACL or rule group.
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
cryptoConfigoptionalIResolvable | CfnRuleGroup.CryptoConfigPropertycrypto_configoptionaltyping.Union[IResolvable, CryptoConfigProperty]cryptoConfigoptionalIResolvableCryptoConfigoptionalIResolvableCryptoConfigoptionalinterface{}#Configures cryptocurrency payment settings.
currencyModeoptionalstringcurrency_modeoptionalstrcurrencyModeoptionalStringCurrencyModeoptionalstringCurrencyModeoptional*string#The currency mode for monetization.
Use REAL for production payments and TEST for testing with testnet currencies.