Class: AWSCDK::ManagedBlockchain::CfnMember::MemberConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ManagedBlockchain::CfnMember::MemberConfigurationProperty
- Defined in:
- managed_blockchain/cfn_member.rb
Overview
Configuration properties of the member.
Applies only to Hyperledger Fabric.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
An optional description of the member.
-
#member_framework_configuration ⇒ AWSCDK::IResolvable, ...
readonly
Configuration properties of the blockchain framework relevant to the member.
-
#name ⇒ String
readonly
The name of the member.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, description: nil, member_framework_configuration: nil) ⇒ MemberConfigurationProperty
constructor
A new instance of MemberConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, description: nil, member_framework_configuration: nil) ⇒ MemberConfigurationProperty
Returns a new instance of MemberConfigurationProperty.
636 637 638 639 640 641 642 643 |
# File 'managed_blockchain/cfn_member.rb', line 636 def initialize(name:, description: nil, member_framework_configuration: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @member_framework_configuration = member_framework_configuration.is_a?(Hash) ? ::AWSCDK::ManagedBlockchain::CfnMember::MemberFrameworkConfigurationProperty.new(**member_framework_configuration.transform_keys(&:to_sym)) : member_framework_configuration Jsii::Type.check_type(@member_framework_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tYW5hZ2VkYmxvY2tjaGFpbi5DZm5NZW1iZXIuTWVtYmVyRnJhbWV3b3JrQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "memberFrameworkConfiguration") unless @member_framework_configuration.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
An optional description of the member.
654 655 656 |
# File 'managed_blockchain/cfn_member.rb', line 654 def description @description end |
#member_framework_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
Configuration properties of the blockchain framework relevant to the member.
659 660 661 |
# File 'managed_blockchain/cfn_member.rb', line 659 def member_framework_configuration @member_framework_configuration end |
#name ⇒ String (readonly)
The name of the member.
649 650 651 |
# File 'managed_blockchain/cfn_member.rb', line 649 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
661 662 663 664 665 666 667 |
# File 'managed_blockchain/cfn_member.rb', line 661 def self.jsii_properties { :name => "name", :description => "description", :member_framework_configuration => "memberFrameworkConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
669 670 671 672 673 674 675 676 677 |
# File 'managed_blockchain/cfn_member.rb', line 669 def to_jsii result = {} result.merge!({ "name" => @name, "description" => @description, "memberFrameworkConfiguration" => @member_framework_configuration, }) result.compact end |