The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::ManagedBlockchain::CreateNode - Arguments for method CreateNode on Paws::ManagedBlockchain

DESCRIPTION

This class represents the parameters used for calling the method CreateNode on the Amazon Managed Blockchain service. Use the attributes of this class as arguments to method CreateNode.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateNode.

SYNOPSIS

    my $managedblockchain = Paws->service('ManagedBlockchain');
    my $CreateNodeOutput = $managedblockchain->CreateNode(
      ClientRequestToken => 'MyClientRequestTokenString',
      NetworkId          => 'MyResourceIdString',
      NodeConfiguration  => {
        InstanceType               => 'MyInstanceTypeString',
        AvailabilityZone           => 'MyAvailabilityZoneString',    # OPTIONAL
        LogPublishingConfiguration => {
          Fabric => {
            ChaincodeLogs => {
              Cloudwatch => {
                Enabled => 1,    # OPTIONAL
              },    # OPTIONAL
            },    # OPTIONAL
            PeerLogs => {
              Cloudwatch => {
                Enabled => 1,    # OPTIONAL
              },    # OPTIONAL
            },    # OPTIONAL
          },    # OPTIONAL
        },    # OPTIONAL
        StateDB => 'LevelDB',    # values: LevelDB, CouchDB; OPTIONAL
      },
      MemberId => 'MyResourceIdString',    # OPTIONAL
      Tags     => {
        'MyTagKey' => 'MyTagValue',    # key: min: 1, max: 128, value: max: 256
      },    # OPTIONAL
    );

    # Results:
    my $NodeId = $CreateNodeOutput->NodeId;

    # Returns a L<Paws::ManagedBlockchain::CreateNodeOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/managedblockchain/CreateNode

ATTRIBUTES

REQUIRED ClientRequestToken => Str

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.

MemberId => Str

The unique identifier of the member that owns this node.

Applies only to Hyperledger Fabric.

REQUIRED NetworkId => Str

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

REQUIRED NodeConfiguration => Paws::ManagedBlockchain::NodeConfiguration

The properties of a node configuration.

Tags => Paws::ManagedBlockchain::InputTagMap

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 (https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html) in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources (https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html) in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateNode in Paws::ManagedBlockchain

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues