

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::WAFv2::WebACL ConnectedAccountChainConfig

A per-network configuration for a connected account, specifying the blockchain network and the price per request. Unlike `PaymentNetwork`, you do not provide a wallet address; the receiving address is managed for the connected account.

## Syntax
<a name="aws-properties-wafv2-webacl-connectedaccountchainconfig-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-wafv2-webacl-connectedaccountchainconfig-syntax.json"></a>

```json
{
  "[Chain](#cfn-wafv2-webacl-connectedaccountchainconfig-chain)" : {{String}},
  "[Prices](#cfn-wafv2-webacl-connectedaccountchainconfig-prices)" : {{[ ConnectedAccountPrice, ... ]}}
}
```

### YAML
<a name="aws-properties-wafv2-webacl-connectedaccountchainconfig-syntax.yaml"></a>

```yaml
  [Chain](#cfn-wafv2-webacl-connectedaccountchainconfig-chain): {{String}}
  [Prices](#cfn-wafv2-webacl-connectedaccountchainconfig-prices): {{
    - ConnectedAccountPrice}}
```

## Properties
<a name="aws-properties-wafv2-webacl-connectedaccountchainconfig-properties"></a>

`Chain`  <a name="cfn-wafv2-webacl-connectedaccountchainconfig-chain"></a>
The blockchain network for receiving payments through the connected account. Test networks are not supported for connected accounts.  
Valid values:  
+ `BASE` - Base mainnet.
+ `SOLANA` - Solana mainnet.
*Required*: Yes  
*Type*: String  
*Allowed values*: `BASE | SOLANA`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Prices`  <a name="cfn-wafv2-webacl-connectedaccountchainconfig-prices"></a>
The price configuration for this network. Currently supports a single price entry in USDC.  
*Required*: Yes  
*Type*: Array of [ConnectedAccountPrice](aws-properties-wafv2-webacl-connectedaccountprice.md)  
*Minimum*: `1`  
*Maximum*: `1`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)