Class: AWSCDK::ManagedBlockchain::CfnMember::NetworkFrameworkConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
managed_blockchain/cfn_member.rb

Overview

Configuration properties relevant to the network for the blockchain framework that the network uses.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(network_fabric_configuration: nil) ⇒ NetworkFrameworkConfigurationProperty

Returns a new instance of NetworkFrameworkConfigurationProperty.

Parameters:



883
884
885
886
# File 'managed_blockchain/cfn_member.rb', line 883

def initialize(network_fabric_configuration: nil)
  @network_fabric_configuration = network_fabric_configuration.is_a?(Hash) ? ::AWSCDK::ManagedBlockchain::CfnMember::NetworkFabricConfigurationProperty.new(**network_fabric_configuration.transform_keys(&:to_sym)) : network_fabric_configuration
  Jsii::Type.check_type(@network_fabric_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tYW5hZ2VkYmxvY2tjaGFpbi5DZm5NZW1iZXIuTmV0d29ya0ZhYnJpY0NvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "networkFabricConfiguration") unless @network_fabric_configuration.nil?
end

Instance Attribute Details

#network_fabric_configurationAWSCDK::IResolvable, ... (readonly)

Configuration properties for Hyperledger Fabric for a member in a Managed Blockchain network that is using the Hyperledger Fabric framework.



892
893
894
# File 'managed_blockchain/cfn_member.rb', line 892

def network_fabric_configuration
  @network_fabric_configuration
end

Class Method Details

.jsii_propertiesObject



894
895
896
897
898
# File 'managed_blockchain/cfn_member.rb', line 894

def self.jsii_properties
  {
    :network_fabric_configuration => "networkFabricConfiguration",
  }
end

Instance Method Details

#to_jsiiObject



900
901
902
903
904
905
906
# File 'managed_blockchain/cfn_member.rb', line 900

def to_jsii
  result = {}
  result.merge!({
    "networkFabricConfiguration" => @network_fabric_configuration,
  })
  result.compact
end