# ConnectedAccountChainConfigProperty

Per-chain price configuration for a connected account.

The deposit address is provisioned by the payments provider and is not specified here.

- Source: Generated at build time
- Type last changed: v2.277.0 · 13 Nov 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wafv2 as wafv2 } from 'aws-cdk-lib';
const connectedAccountChainConfigProperty: wafv2.CfnWebACL.ConnectedAccountChainConfigProperty = {
  chain: 'chain',
  prices: [{
    amount: 'amount',
    currency: 'currency',
  }],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_wafv2 as wafv2

connected_account_chain_config_property = wafv2.CfnWebACL.ConnectedAccountChainConfigProperty(
    chain="chain",
    prices=[wafv2.CfnWebACL.ConnectedAccountPriceProperty(
        amount="amount",
        currency="currency"
    )]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wafv2.*;

ConnectedAccountChainConfigProperty connectedAccountChainConfigProperty = ConnectedAccountChainConfigProperty.builder()
        .chain("chain")
        .prices(List.of(ConnectedAccountPriceProperty.builder()
                .amount("amount")
                .currency("currency")
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 connectedAccountChainConfigProperty = new ConnectedAccountChainConfigProperty {
    Chain = "chain",
    Prices = new [] { new ConnectedAccountPriceProperty {
        Amount = "amount",
        Currency = "currency"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

connectedAccountChainConfigProperty := &ConnectedAccountChainConfigProperty{
	Chain: jsii.String("chain"),
	Prices: []interface{}{
		&ConnectedAccountPriceProperty{
			Amount: jsii.String("amount"),
			Currency: jsii.String("currency"),
		},
	},
}
```

## Properties

- `chain`: string (required) — The blockchain chain to use with a connected account.

  Connected accounts are mainnet only.

- `prices`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWebACL.ConnectedAccountPriceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_wafv2.CfnWebACL.ConnectedAccountPriceProperty.html)[] (required) — List of connected-account price configurations.

  A single price is supported.
