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.

Class: Aws::ManagedBlockchain::Types::CreateNodeInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb

Overview

Note:

When making an API call, you may pass CreateNodeInput data as a hash:

{
  client_request_token: "ClientRequestTokenString", # required
  network_id: "ResourceIdString", # required
  member_id: "ResourceIdString",
  node_configuration: { # required
    instance_type: "InstanceTypeString", # required
    availability_zone: "AvailabilityZoneString",
    log_publishing_configuration: {
      fabric: {
        chaincode_logs: {
          cloudwatch: {
            enabled: false,
          },
        },
        peer_logs: {
          cloudwatch: {
            enabled: false,
          },
        },
      },
    },
    state_db: "LevelDB", # accepts LevelDB, CouchDB
  },
  tags: {
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

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.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


383
384
385
386
387
388
389
390
391
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 383

class CreateNodeInput < Struct.new(
  :client_request_token,
  :network_id,
  :member_id,
  :node_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#member_idString

The unique identifier of the member that owns this node.

Applies only to Hyperledger Fabric.

Returns:

  • (String)


383
384
385
386
387
388
389
390
391
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 383

class CreateNodeInput < Struct.new(
  :client_request_token,
  :network_id,
  :member_id,
  :node_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#network_idString

The unique identifier of the network for the node.

Ethereum public networks have the following NetworkIds:

  • n-ethereum-mainnet

  • n-ethereum-rinkeby

  • n-ethereum-ropsten

Returns:

  • (String)


383
384
385
386
387
388
389
390
391
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 383

class CreateNodeInput < Struct.new(
  :client_request_token,
  :network_id,
  :member_id,
  :node_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#node_configurationTypes::NodeConfiguration

The properties of a node configuration.



383
384
385
386
387
388
389
390
391
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 383

class CreateNodeInput < Struct.new(
  :client_request_token,
  :network_id,
  :member_id,
  :node_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

Tags to assign to the node. Each tag consists of a key and optional value.

When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each resource.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

Returns:

  • (Hash<String,String>)


383
384
385
386
387
388
389
390
391
# File 'gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/types.rb', line 383

class CreateNodeInput < Struct.new(
  :client_request_token,
  :network_id,
  :member_id,
  :node_configuration,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end