Skip to content
v2.275.0

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 ​

accessorTypestringaccessor_typestraccessorTypeStringAccessorTypestringAccessorType*stringrequired#
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 networkType value for the blockchain network that you are creating the Accessor token for. You cannot use the value ETHEREUM_MAINNET_AND_GOERLI to specify a networkType for your Accessor token.

The default value of ETHEREUM_MAINNET_AND_GOERLI is only applied:

  • when the CreateAccessor action does not set a networkType .
  • to all existing Accessor tokens that were created before the networkType property 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 .