CfnAccessorProps Struct
Properties for defining a CfnAccessor.
Example
ts
// 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
The type of the accessor.
Currently, accessor type is restricted to
BILLING_TOKEN.
networkTypeoptionalstringnetwork_typeoptionalstrnetworkTypeoptionalStringNetworkTypeoptionalstringNetworkTypeoptional*string#The blockchain network that the `Accessor` token is created for.
notes
We recommend using the appropriate
networkTypevalue for the blockchain network that you are creating theAccessortoken for. You cannot use the valueETHEREUM_MAINNET_AND_GOERLIto specify anetworkTypefor your Accessor token.The default value of
ETHEREUM_MAINNET_AND_GOERLIis only applied:
- when the
CreateAccessoraction does not set anetworkType.- to all existing
Accessortokens that were created before thenetworkTypeproperty was introduced.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#The tags assigned to the Accessor.
notes
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 .