AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#client_request_tokenString

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.

Returns:

  • (String)

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation.

#descriptionString

An optional description for the network.

Returns:

  • (String)

    An optional description for the network.

#frameworkString

The blockchain framework that the network uses.

Possible values:

  • HYPERLEDGER_FABRIC

Returns:

  • (String)

    The blockchain framework that the network uses.

#framework_configurationTypes::NetworkFrameworkConfiguration

Configuration properties of the blockchain framework relevant to the network configuration.

Returns:

#framework_versionString

The version of the blockchain framework that the network uses.

Returns:

  • (String)

    The version of the blockchain framework that the network uses.

#member_configurationTypes::MemberConfiguration

Configuration properties for the first member within the network.

Returns:

#nameString

The name of the network.

Returns:

  • (String)

    The name of the network.

#voting_policyTypes::VotingPolicy

The voting rules used by the network to determine if a proposal is approved.

Returns:

  • (Types::VotingPolicy)

    The voting rules used by the network to determine if a proposal is approved.