Class CfnNode
Creates a node on the specified blockchain network.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ManagedBlockchain
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnNode : CfnResource, IInspectable
Syntax (vb)
Public Class CfnNode
Inherits CfnResource
Implements IInspectable
Remarks
Applies to Hyperledger Fabric and Ethereum.
CloudformationResource: AWS::ManagedBlockchain::Node
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ManagedBlockchain;
var cfnNode = new CfnNode(this, "MyCfnNode", new CfnNodeProps {
NetworkId = "networkId",
NodeConfiguration = new NodeConfigurationProperty {
AvailabilityZone = "availabilityZone",
InstanceType = "instanceType"
},
// the properties below are optional
MemberId = "memberId"
});
Synopsis
Constructors
CfnNode(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnNode(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnNode(Construct, String, ICfnNodeProps) |
Properties
AttrArn | The Amazon Resource Name (ARN) of the node. |
AttrMemberId | The unique identifier of the member in which the node is created. |
AttrNetworkId | The unique identifier of the network that the node is in. |
AttrNodeId | The unique identifier of the node. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
MemberId | The unique identifier of the member to which the node belongs. |
NetworkId | The unique identifier of the network for the node. |
NodeConfiguration | Configuration properties of a peer node. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnNode(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnNode(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnNode(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnNode(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnNode(Construct, String, ICfnNodeProps)
public CfnNode(Construct scope, string id, ICfnNodeProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnNodeProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the node.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrMemberId
The unique identifier of the member in which the node is created.
public virtual string AttrMemberId { get; }
Property Value
System.String
Remarks
Applies only to Hyperledger Fabric.
CloudformationAttribute: MemberId
AttrNetworkId
The unique identifier of the network that the node is in.
public virtual string AttrNetworkId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: NetworkId
AttrNodeId
The unique identifier of the node.
public virtual string AttrNodeId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: NodeId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
MemberId
The unique identifier of the member to which the node belongs.
public virtual string MemberId { get; set; }
Property Value
System.String
NetworkId
The unique identifier of the network for the node.
public virtual string NetworkId { get; set; }
Property Value
System.String
NodeConfiguration
Configuration properties of a peer node.
public virtual object NodeConfiguration { get; set; }
Property Value
System.Object
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>