This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::WAFv2::WebACL PaymentNetwork
A blockchain payment network configuration for receiving AI bot monetization payments. Specifies the blockchain chain, your wallet address on that chain, and the price per request.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "Chain" :String, "Prices" :[ Price, ... ], "WalletAddress" :String}
YAML
Chain:StringPrices:- PriceWalletAddress:String
Properties
Chain-
The blockchain network for receiving payments. Production networks:
BASE(Base mainnet),SOLANA(Solana mainnet). Test networks:BASE_SEPOLIA(Base Sepolia testnet),SOLANA_DEVNET(Solana Devnet).Required: Yes
Type: String
Allowed values:
BASE | SOLANA | BASE_SEPOLIA | SOLANA_DEVNETUpdate requires: No interruption
Prices-
The price configuration for this payment network. Currently supports a single price entry in USDC.
Required: Yes
Type: Array of Price
Minimum:
1Maximum:
1Update requires: No interruption
WalletAddress-
Your wallet address on the specified blockchain where payments are sent. For EVM chains (Base, Base Sepolia), provide a valid Ethereum address (42 characters including 0x prefix). For Solana chains, provide a valid Base58-encoded public key (32-44 characters).
For EVM addresses, AWS WAF performs EIP-55 checksum validation for typo detection when the address uses a mix of lower and upper case letters. You can bypass this validation by providing the address in all lowercase or all uppercase.
Required: Yes
Type: String
Pattern:
.*\S.*Minimum:
26Maximum:
44Update requires: No interruption