Registry / aws / cdklabs-cdk-hyperledger-fabric-network

cdklabs-cdk-hyperledger-fabric-network

JSON →
library0.8.990pypypi✓ verified 88d ago

AWS CDK construct library (version 0.8.990) to deploy a Hyperledger Fabric network running on Amazon Managed Blockchain. Targeted at Python 3.9+ and follows a weekly release cadence.

pip install cdklabs-cdk-hyperledger-fabric-network
INSTALL
IMPORT
SIG · CDKLABS-CDK-HYPERL
C
cdklabs-cdk-hyperledger-fabric-network
awspythonv0.8.990
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HyperledgerFabricNetwork
✓ from cdklabs.cdk_hyperledger_fabric_network import HyperledgerFabricNetwork
Use the dashed-to-underscore module naming

Deploy a basic Hyperledger Fabric network on Amazon Managed Blockchain. Replace key material with your own KMS key.

from aws_cdk import App, Stack from aws_cdk import aws_kms as kms from cdklabs.cdk_hyperledger_fabric_network import HyperledgerFabricNetwork, NetworkVersion app = App() stack = Stack(app, "TestStack") HyperledgerFabricNetwork( stack, "MyNetwork", network_version=NetworkVersion.V1_4, member_name="Org1", key_material=kms.Key.from_lookup(stack, "Key", alias_name="alias/fabric-key"), ) app.synth()
Debug
Known issues
breakingVersion 0.8.x dropped support for NetworkVersion.V1_2; use V1_4 only.
fix
Set network_version=NetworkVersion.V1_4
affects: >=0.8.0
gotchaModule import path uses underscores (cdk_hyperledger_fabric_network) not hyphens, but package name has hyphens.
fix
Use from cdklabs.cdk_hyperledger_fabric_network import ...
affects: all
deprecatedProperty 'vpc' is deprecated in 0.7+; use 'vpc_config' instead.
fix
Use vpc_config=VpcConfig(...) (imported from same module)
affects: >=0.7.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'cdklabs'
Missing dependency or wrong Python environment.
fix
pip install cdklabs-cdk-hyperledger-fabric-network
ImportError: cannot import name 'HyperledgerFabricNetwork' from 'cdklabs'
Incorrect import path; using base cdklabs package instead of submodule.
fix
Use from cdklabs.cdk_hyperledger_fabric_network import HyperledgerFabricNetwork
Upgrade
Version history
0.8.990latest on PyPI · released Oct 17, 2025
Audit
Dependencies
aws-cdk-librequiredCDK core library required
constructsrequiredCDK construct base class
Agent activity
19 hits · last 30 days
node
18
Amazon
1
Resources