@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:38.503Z") public class CfnNode extends CfnResource implements IInspectable
Creates a node on the specified blockchain network.
Applies to Hyperledger Fabric and Ethereum.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.managedblockchain.*; CfnNode cfnNode = CfnNode.Builder.create(this, "MyCfnNode") .networkId("networkId") .nodeConfiguration(NodeConfigurationProperty.builder() .availabilityZone("availabilityZone") .instanceType("instanceType") .build()) // the properties below are optional .memberId("memberId") .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnNode.Builder
A fluent builder for
CfnNode . |
static interface |
CfnNode.NodeConfigurationProperty
Configuration properties of a peer node within a membership.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnNode(Construct scope,
java.lang.String id,
CfnNodeProps props)
Create a new `AWS::ManagedBlockchain::Node`.
|
protected |
CfnNode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnNode(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrArn()
The Amazon Resource Name (ARN) of the node.
|
java.lang.String |
getAttrMemberId()
The unique identifier of the member in which the node is created.
|
java.lang.String |
getAttrNetworkId()
The unique identifier of the network that the node is in.
|
java.lang.String |
getAttrNodeId()
The unique identifier of the node.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getMemberId()
The unique identifier of the member to which the node belongs.
|
java.lang.String |
getNetworkId()
The unique identifier of the network for the node.
|
java.lang.Object |
getNodeConfiguration()
Configuration properties of a peer node.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setMemberId(java.lang.String value)
The unique identifier of the member to which the node belongs.
|
void |
setNetworkId(java.lang.String value)
The unique identifier of the network for the node.
|
void |
setNodeConfiguration(CfnNode.NodeConfigurationProperty value)
Configuration properties of a peer node.
|
void |
setNodeConfiguration(IResolvable value)
Configuration properties of a peer node.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnNode(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnNode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnNode(Construct scope, java.lang.String id, CfnNodeProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
public java.lang.String getAttrMemberId()
Applies only to Hyperledger Fabric.
public java.lang.String getAttrNetworkId()
public java.lang.String getAttrNodeId()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getNetworkId()
Ethereum public networks have the following NetworkId
s:
n-ethereum-mainnet
n-ethereum-goerli
n-ethereum-rinkeby
public void setNetworkId(java.lang.String value)
Ethereum public networks have the following NetworkId
s:
n-ethereum-mainnet
n-ethereum-goerli
n-ethereum-rinkeby
public java.lang.Object getNodeConfiguration()
public void setNodeConfiguration(IResolvable value)
public void setNodeConfiguration(CfnNode.NodeConfigurationProperty value)
public java.lang.String getMemberId()
Applies only to Hyperledger Fabric.
public void setMemberId(java.lang.String value)
Applies only to Hyperledger Fabric.