![]() |
![]()
| ![]() |
![]()
NAMEPaws::ManagedBlockchain::CreateNode - Arguments for method CreateNode on Paws::ManagedBlockchain DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESREQUIRED ClientRequestToken => StrA 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 => StrThe unique identifier of the member that owns this node. Applies only to Hyperledger Fabric. REQUIRED NetworkId => StrThe unique identifier of the network for the node. Ethereum public networks have the following "NetworkId"s:
REQUIRED NodeConfiguration => Paws::ManagedBlockchain::NodeConfigurationThe properties of a node configuration. Tags => Paws::ManagedBlockchain::InputTagMapTags 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 ALSOThis class forms part of Paws, documenting arguments for method CreateNode in Paws::ManagedBlockchain BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|