Skip to content
v2.278.0

ConnectedAccountConfigProperty Struct ​

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

Example ​

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
# 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
// 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();
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"
        } }
    } }
};
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 ​

connectedAccountArnstringconnected_account_arnstrconnectedAccountArnStringConnectedAccountArnstringConnectedAccountArn*string required #
The ARN of the connected account that provisions deposit addresses for this configuration.
paymentNetworksIResolvable | IResolvable | CfnWebACL.ConnectedAccountChainConfigProperty[]payment_networkstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConnectedAccountChainConfigProperty]]]paymentNetworksIResolvablePaymentNetworksIResolvablePaymentNetworksinterface{} required #
List of per-chain configurations for a connected account.