interface MonetizationConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.WAFv2.CfnRuleGroupPropsMixin.MonetizationConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awswafv2#CfnRuleGroupPropsMixin_MonetizationConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.wafv2.CfnRuleGroupPropsMixin.MonetizationConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_wafv2.CfnRuleGroupPropsMixin.MonetizationConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_wafv2 » CfnRuleGroupPropsMixin » 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/cfn-property-mixins';
const monetizationConfigProperty: wafv2.CfnRuleGroupPropsMixin.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