-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsmanagedblockchain_CfnNodeProps.go
39 lines (36 loc) · 1.24 KB
/
awsmanagedblockchain_CfnNodeProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package awsmanagedblockchain
// Properties for defining a `CfnNode`.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// cfnNodeProps := &cfnNodeProps{
// networkId: jsii.String("networkId"),
// nodeConfiguration: &nodeConfigurationProperty{
// availabilityZone: jsii.String("availabilityZone"),
// instanceType: jsii.String("instanceType"),
// },
//
// // the properties below are optional
// memberId: jsii.String("memberId"),
// }
//
type CfnNodeProps struct {
// The unique identifier of the network for the node.
//
// Ethereum public networks have the following `NetworkId` s:
//
// - `n-ethereum-mainnet`
// - `n-ethereum-goerli`
// - `n-ethereum-rinkeby`
// - `n-ethereum-ropsten`.
NetworkId *string `field:"required" json:"networkId" yaml:"networkId"`
// Configuration properties of a peer node.
NodeConfiguration interface{} `field:"required" json:"nodeConfiguration" yaml:"nodeConfiguration"`
// The unique identifier of the member to which the node belongs.
//
// Applies only to Hyperledger Fabric.
MemberId *string `field:"optional" json:"memberId" yaml:"memberId"`
}