CfnAccessorProps
- class aws_cdk.aws_managedblockchain.CfnAccessorProps(*, accessor_type, network_type=None, tags=None)
Bases:
objectProperties for defining a
CfnAccessor.- Parameters:
accessor_type (
str) – The type of the accessor. .. epigraph:: Currently, accessor type is restricted toBILLING_TOKEN.network_type (
Optional[str]) – The blockchain network that theAccessortoken is created for. .. epigraph:: We recommend using the appropriatenetworkTypevalue 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 ofETHEREUM_MAINNET_AND_GOERLIis only applied: - when theCreateAccessoraction does not set anetworkType. - to all existingAccessortokens that were created before thenetworkTypeproperty was introduced.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) –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 .
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_managedblockchain as managedblockchain cfn_accessor_props = managedblockchain.CfnAccessorProps( accessor_type="accessorType", # the properties below are optional network_type="networkType", tags=[CfnTag( key="key", value="value" )] )
Attributes
- accessor_type
The type of the accessor.
Currently, accessor type is restricted to
BILLING_TOKEN.
- network_type
The blockchain network that the
Accessortoken is created for.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.
- tags
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 .