interface CfnAccessorProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ManagedBlockchain.CfnAccessorProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmanagedblockchain#CfnAccessorProps |
Java | software.amazon.awscdk.services.managedblockchain.CfnAccessorProps |
Python | aws_cdk.aws_managedblockchain.CfnAccessorProps |
TypeScript | aws-cdk-lib » aws_managedblockchain » CfnAccessorProps |
Properties for defining a CfnAccessor
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_managedblockchain as managedblockchain } from 'aws-cdk-lib';
const cfnAccessorProps: managedblockchain.CfnAccessorProps = {
accessorType: 'accessorType',
// the properties below are optional
networkType: 'networkType',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
accessor | string | The type of the accessor. |
network | string | The blockchain network that the Accessor token is created for. |
tags? | Cfn [] | The tags assigned to the Accessor. |
accessorType
Type:
string
The type of the accessor.
Currently, accessor type is restricted to
BILLING_TOKEN
.
networkType?
Type:
string
(optional)
The blockchain network that the Accessor
token is created for.
We recommend using the appropriate
networkType
value for the blockchain network that you are creating theAccessor
token for. You cannot use the valueETHEREUM_MAINNET_AND_GOERLI
to specify anetworkType
for your Accessor token.The default value of
ETHEREUM_MAINNET_AND_GOERLI
is only applied:
- when the
CreateAccessor
action does not set anetworkType
.- to all existing
Accessor
tokens that were created before thenetworkType
property was introduced.
tags?
Type:
Cfn
[]
(optional)
The tags assigned to the Accessor.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide , or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide .