Show / Hide Table of Contents

Class CfnWebACLPropsMixin.MonetizationConfigProperty

Configures monetization for the web ACL or rule group.

Inheritance
object
CfnWebACLPropsMixin.MonetizationConfigProperty
Implements
CfnWebACLPropsMixin.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.CfnPropertyMixins.AWS.WAFv2
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnWebACLPropsMixin.MonetizationConfigProperty : CfnWebACLPropsMixin.IMonetizationConfigProperty
Syntax (vb)
Public Class CfnWebACLPropsMixin.MonetizationConfigProperty Implements CfnWebACLPropsMixin.IMonetizationConfigProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-webacl-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.CfnPropertyMixins.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-webacl-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.CfnPropertyMixins.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-webacl-monetizationconfig.html#cfn-wafv2-webacl-monetizationconfig-cryptoconfig

Type union: either IResolvable or CfnWebACLPropsMixin.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-webacl-monetizationconfig.html#cfn-wafv2-webacl-monetizationconfig-currencymode

Implements

CfnWebACLPropsMixin.IMonetizationConfigProperty
Back to top Generated by DocFX