You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ManagedBlockchain::Types::CreateNetworkInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::ManagedBlockchain::Types::CreateNetworkInput
- Defined in:
- (unknown)
Overview
When passing CreateNetworkInput as input to an Aws::Client method, you can use a vanilla Hash:
{
client_request_token: "ClientRequestTokenString", # required
name: "NameString", # required
description: "DescriptionString",
framework: "HYPERLEDGER_FABRIC", # required, accepts HYPERLEDGER_FABRIC
framework_version: "FrameworkVersionString", # required
framework_configuration: {
fabric: {
edition: "STARTER", # required, accepts STARTER, STANDARD
},
},
voting_policy: { # required
approval_threshold_policy: {
threshold_percentage: 1,
proposal_duration_in_hours: 1,
threshold_comparator: "GREATER_THAN", # accepts GREATER_THAN, GREATER_THAN_OR_EQUAL_TO
},
},
member_configuration: { # required
name: "NetworkMemberNameString", # required
description: "DescriptionString",
framework_configuration: { # required
fabric: {
admin_username: "UsernameString", # required
admin_password: "PasswordString", # required
},
},
log_publishing_configuration: {
fabric: {
ca_logs: {
cloudwatch: {
enabled: false,
},
},
},
},
},
}
Instance Attribute Summary collapse
-
#client_request_token ⇒ String
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.
-
#description ⇒ String
An optional description for the network.
-
#framework ⇒ String
The blockchain framework that the network uses.
-
#framework_configuration ⇒ Types::NetworkFrameworkConfiguration
Configuration properties of the blockchain framework relevant to the network configuration.
-
#framework_version ⇒ String
The version of the blockchain framework that the network uses.
-
#member_configuration ⇒ Types::MemberConfiguration
Configuration properties for the first member within the network.
-
#name ⇒ String
The name of the network.
-
#voting_policy ⇒ Types::VotingPolicy
The voting rules used by the network to determine if a proposal is approved.
Instance Attribute Details
#client_request_token ⇒ String
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an AWS SDK or the AWS CLI.
#description ⇒ String
An optional description for the network.
#framework ⇒ String
The blockchain framework that the network uses.
Possible values:
- HYPERLEDGER_FABRIC
#framework_configuration ⇒ Types::NetworkFrameworkConfiguration
Configuration properties of the blockchain framework relevant to the network configuration.
#framework_version ⇒ String
The version of the blockchain framework that the network uses.
#member_configuration ⇒ Types::MemberConfiguration
Configuration properties for the first member within the network.
#name ⇒ String
The name of the network.
#voting_policy ⇒ Types::VotingPolicy
The voting rules used by the network to determine if a proposal is approved.