# ConnectedAccountConfigProperty

Configuration for a single connected account and the chains it accepts payment on.

- 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 connectedAccountConfigProperty: wafv2.CfnWebACL.ConnectedAccountConfigProperty = {
  connectedAccountArn: 'connectedAccountArn',
  paymentNetworks: [{
    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_config_property = wafv2.CfnWebACL.ConnectedAccountConfigProperty(
    connected_account_arn="connectedAccountArn",
    payment_networks=[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.*;

ConnectedAccountConfigProperty connectedAccountConfigProperty = ConnectedAccountConfigProperty.builder()
        .connectedAccountArn("connectedAccountArn")
        .paymentNetworks(List.of(ConnectedAccountChainConfigProperty.builder()
                .chain("chain")
                .prices(List.of(ConnectedAccountPriceProperty.builder()
                        .amount("amount")
                        .currency("currency")
                        .build()))
                .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 connectedAccountConfigProperty = new ConnectedAccountConfigProperty {
    ConnectedAccountArn = "connectedAccountArn",
    PaymentNetworks = new [] { 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"

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

## Properties

- `connectedAccountArn`: string (required) — The ARN of the connected account that provisions deposit addresses for this configuration.

- `paymentNetworks`: [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.ConnectedAccountChainConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_wafv2.CfnWebACL.ConnectedAccountChainConfigProperty.html)[] (required) — List of per-chain configurations for a connected account.
