Interface CfnRuleGroup.MonetizationConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRuleGroup.MonetizationConfigProperty.Jsii$Proxy
- Enclosing class:
CfnRuleGroup
@Stability(Stable)
public static interface CfnRuleGroup.MonetizationConfigProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.wafv2.*;
MonetizationConfigProperty monetizationConfigProperty = MonetizationConfigProperty.builder()
.cryptoConfig(CryptoConfigProperty.builder()
.paymentNetworks(List.of(PaymentNetworkProperty.builder()
.chain("chain")
.prices(List.of(PriceProperty.builder()
.amount("amount")
.currency("currency")
.build()))
.walletAddress("walletAddress")
.build()))
.build())
.currencyMode("currencyMode")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRuleGroup.MonetizationConfigPropertystatic final classAn implementation forCfnRuleGroup.MonetizationConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCryptoConfig
Configures cryptocurrency payment settings.Returns union: either
IResolvableorCfnRuleGroup.CryptoConfigProperty- See Also:
-
getCurrencyMode
The currency mode for monetization.Use REAL for production payments and TEST for testing with testnet currencies.
- See Also:
-
builder
-