

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::RuleGroup ConnectedAccountPrice

The price per request for a connected account payment network, specifying the amount and cryptocurrency.

## Syntax
<a name="aws-properties-wafv2-rulegroup-connectedaccountprice-syntax"></a>

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

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

```json
{
  "[Amount](#cfn-wafv2-rulegroup-connectedaccountprice-amount)" : {{String}},
  "[Currency](#cfn-wafv2-rulegroup-connectedaccountprice-currency)" : {{String}}
}
```

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

```yaml
  [Amount](#cfn-wafv2-rulegroup-connectedaccountprice-amount): {{String}}
  [Currency](#cfn-wafv2-rulegroup-connectedaccountprice-currency): {{String}}
```

## Properties
<a name="aws-properties-wafv2-rulegroup-connectedaccountprice-properties"></a>

`Amount`  <a name="cfn-wafv2-rulegroup-connectedaccountprice-amount"></a>
The price per request as a decimal string in the specified currency. Valid values range from 0.01 to 999999.99 USDC, with up to two decimal places. Sub-cent amounts are not supported.  
*Required*: Yes  
*Type*: String  
*Pattern*: `^([1-9][0-9]{0,5}(\.[0-9]{1,2})?|0\.(0[1-9]|[1-9][0-9]?))$`  
*Minimum*: `1`  
*Maximum*: `9`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Currency`  <a name="cfn-wafv2-rulegroup-connectedaccountprice-currency"></a>
The cryptocurrency for payment. Currently only `USDC` is supported.  
*Required*: Yes  
*Type*: String  
*Allowed values*: `USDC`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)