Show / Hide Table of Contents

Class CfnRuleGroup.MonetizationConfigProperty

Configures monetization for the web ACL or rule group.

Inheritance
object
CfnRuleGroup.MonetizationConfigProperty
Implements
CfnRuleGroup.IMonetizationConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.WAFv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRuleGroup.MonetizationConfigProperty : CfnRuleGroup.IMonetizationConfigProperty
Syntax (vb)
Public Class CfnRuleGroup.MonetizationConfigProperty Implements CfnRuleGroup.IMonetizationConfigProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-monetizationconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.WAFv2;

             var monetizationConfigProperty = new MonetizationConfigProperty {
                 CryptoConfig = new CryptoConfigProperty {
                     PaymentNetworks = new [] { new PaymentNetworkProperty {
                         Chain = "chain",
                         Prices = new [] { new PriceProperty {
                             Amount = "amount",
                             Currency = "currency"
                         } },
                         WalletAddress = "walletAddress"
                     } }
                 },
                 CurrencyMode = "currencyMode"
             };

Synopsis

Constructors

MonetizationConfigProperty()

Configures monetization for the web ACL or rule group.

Properties

CryptoConfig

Configures cryptocurrency payment settings.

CurrencyMode

The currency mode for monetization.

Constructors

MonetizationConfigProperty()

Configures monetization for the web ACL or rule group.

public MonetizationConfigProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-monetizationconfig.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.WAFv2;

             var monetizationConfigProperty = new MonetizationConfigProperty {
                 CryptoConfig = new CryptoConfigProperty {
                     PaymentNetworks = new [] { new PaymentNetworkProperty {
                         Chain = "chain",
                         Prices = new [] { new PriceProperty {
                             Amount = "amount",
                             Currency = "currency"
                         } },
                         WalletAddress = "walletAddress"
                     } }
                 },
                 CurrencyMode = "currencyMode"
             };

Properties

CryptoConfig

Configures cryptocurrency payment settings.

public object? CryptoConfig { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-monetizationconfig.html#cfn-wafv2-rulegroup-monetizationconfig-cryptoconfig

Type union: either IResolvable or CfnRuleGroup.ICryptoConfigProperty

CurrencyMode

The currency mode for monetization.

public string? CurrencyMode { get; set; }
Property Value

string

Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-monetizationconfig.html#cfn-wafv2-rulegroup-monetizationconfig-currencymode

Implements

CfnRuleGroup.IMonetizationConfigProperty
Back to top Generated by DocFX