ConnectedAccountChainConfigProperty Struct
Per-chain price configuration for a connected account.
The deposit address is provisioned by the payments provider and is not specified here.
| Source | |
|---|---|
| Type last changed |
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 connectedAccountChainConfigProperty: wafv2.CfnWebACL.ConnectedAccountChainConfigProperty = {
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_chain_config_property = 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.*;
ConnectedAccountChainConfigProperty connectedAccountChainConfigProperty = ConnectedAccountChainConfigProperty.builder()
.chain("chain")
.prices(List.of(ConnectedAccountPriceProperty.builder()
.amount("amount")
.currency("currency")
.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 connectedAccountChainConfigProperty = 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"
connectedAccountChainConfigProperty := &ConnectedAccountChainConfigProperty{
Chain: jsii.String("chain"),
Prices: []interface{}{
&ConnectedAccountPriceProperty{
Amount: jsii.String("amount"),
Currency: jsii.String("currency"),
},
},
}
Properties
The blockchain chain to use with a connected account.
Connected accounts are mainnet only.
pricesIResolvable | IResolvable | CfnWebACL.pricestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConnectedAccountPriceProperty]]]pricesIResolvablePricesIResolvablePricesinterface{} required #List of connected-account price configurations.
A single price is supported.