![]() |
![]()
| ![]() |
![]()
NAMEPaws::ManagedBlockchain::CreateNetwork - Arguments for method CreateNetwork on Paws::ManagedBlockchain DESCRIPTIONThis class represents the parameters used for calling the method CreateNetwork on the Amazon Managed Blockchain service. Use the attributes of this class as arguments to method CreateNetwork. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateNetwork. SYNOPSISmy $managedblockchain = Paws->service('ManagedBlockchain'); my $CreateNetworkOutput = $managedblockchain->CreateNetwork( ClientRequestToken => 'MyClientRequestTokenString', Framework => 'HYPERLEDGER_FABRIC', FrameworkVersion => 'MyFrameworkVersionString', MemberConfiguration => { FrameworkConfiguration => { Fabric => { AdminPassword => 'MyPasswordString', # min: 8, max: 32 AdminUsername => 'MyUsernameString', # min: 1, max: 16 }, # OPTIONAL }, Name => 'MyNetworkMemberNameString', # min: 1, max: 64 Description => 'MyDescriptionString', # max: 128; OPTIONAL KmsKeyArn => 'MyArnString', # min: 1, max: 1011; OPTIONAL LogPublishingConfiguration => { Fabric => { CaLogs => { Cloudwatch => { Enabled => 1, # OPTIONAL }, # OPTIONAL }, # OPTIONAL }, # OPTIONAL }, # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # max: 50; OPTIONAL }, Name => 'MyNameString', VotingPolicy => { ApprovalThresholdPolicy => { ProposalDurationInHours => 1, # min: 1, max: 168; OPTIONAL ThresholdComparator => 'GREATER_THAN' , # values: GREATER_THAN, GREATER_THAN_OR_EQUAL_TO; OPTIONAL ThresholdPercentage => 1, # max: 100; OPTIONAL }, # OPTIONAL }, Description => 'MyDescriptionString', # OPTIONAL FrameworkConfiguration => { Fabric => { Edition => 'STARTER', # values: STARTER, STANDARD }, # OPTIONAL }, # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # OPTIONAL ); # Results: my $MemberId = $CreateNetworkOutput->MemberId; my $NetworkId = $CreateNetworkOutput->NetworkId; # Returns a L<Paws::ManagedBlockchain::CreateNetworkOutput> 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/CreateNetwork> 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. Description => StrAn optional description for the network. REQUIRED Framework => StrThe blockchain framework that the network uses. Valid values are: "HYPERLEDGER_FABRIC", "ETHEREUM" FrameworkConfiguration => Paws::ManagedBlockchain::NetworkFrameworkConfigurationConfiguration properties of the blockchain framework relevant to the network configuration. REQUIRED FrameworkVersion => StrThe version of the blockchain framework that the network uses. REQUIRED MemberConfiguration => Paws::ManagedBlockchain::MemberConfigurationConfiguration properties for the first member within the network. REQUIRED Name => StrThe name of the network. Tags => Paws::ManagedBlockchain::InputTagMapTags to assign to the network. 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. REQUIRED VotingPolicy => Paws::ManagedBlockchain::VotingPolicyThe voting rules used by the network to determine if a proposal is approved. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateNetwork 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>
|