@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.752Z") @Stability(value=Stable) 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.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnNode(software.constructs.Construct scope,
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 |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) of the node.
|
String |
getAttrMemberId()
The unique identifier of the member in which the node is created.
|
String |
getAttrNetworkId()
The unique identifier of the network that the node is in.
|
String |
getAttrNodeId()
The unique identifier of the node.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getMemberId()
The unique identifier of the member to which the node belongs.
|
String |
getNetworkId()
The unique identifier of the network for the node.
|
Object |
getNodeConfiguration()
Configuration properties of a peer node.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setMemberId(String value)
The unique identifier of the member to which the node belongs.
|
void |
setNetworkId(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, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnNode(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnNode(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnNode(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrMemberId()
Applies only to Hyperledger Fabric.
@Stability(value=Stable) @NotNull public String getAttrNetworkId()
@Stability(value=Stable) @NotNull public String getAttrNodeId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getNetworkId()
Ethereum public networks have the following NetworkId s:
n-ethereum-mainnetn-ethereum-rinkebyn-ethereum-ropsten@Stability(value=Stable)
public void setNetworkId(@NotNull
String value)
Ethereum public networks have the following NetworkId s:
n-ethereum-mainnetn-ethereum-rinkebyn-ethereum-ropsten@Stability(value=Stable) @NotNull public Object getNodeConfiguration()
@Stability(value=Stable)
public void setNodeConfiguration(@NotNull
CfnNode.NodeConfigurationProperty value)
@Stability(value=Stable)
public void setNodeConfiguration(@NotNull
IResolvable value)
@Stability(value=Stable) @Nullable public String getMemberId()
Applies only to Hyperledger Fabric.
@Stability(value=Stable)
public void setMemberId(@Nullable
String value)
Applies only to Hyperledger Fabric.
Copyright © 2022. All rights reserved.