@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:38.496Z") public class CfnMember extends CfnResource implements IInspectable
Creates a member within a Managed Blockchain network.
Applies only to Hyperledger Fabric.
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.*; CfnMember cfnMember = CfnMember.Builder.create(this, "MyCfnMember") .memberConfiguration(MemberConfigurationProperty.builder() .name("name") // the properties below are optional .description("description") .memberFrameworkConfiguration(MemberFrameworkConfigurationProperty.builder() .memberFabricConfiguration(MemberFabricConfigurationProperty.builder() .adminPassword("adminPassword") .adminUsername("adminUsername") .build()) .build()) .build()) // the properties below are optional .invitationId("invitationId") .networkConfiguration(NetworkConfigurationProperty.builder() .framework("framework") .frameworkVersion("frameworkVersion") .name("name") .votingPolicy(VotingPolicyProperty.builder() .approvalThresholdPolicy(ApprovalThresholdPolicyProperty.builder() .proposalDurationInHours(123) .thresholdComparator("thresholdComparator") .thresholdPercentage(123) .build()) .build()) // the properties below are optional .description("description") .networkFrameworkConfiguration(NetworkFrameworkConfigurationProperty.builder() .networkFabricConfiguration(NetworkFabricConfigurationProperty.builder() .edition("edition") .build()) .build()) .build()) .networkId("networkId") .build();
Modifier and Type | Class and Description |
---|---|
static interface |
CfnMember.ApprovalThresholdPolicyProperty
A policy type that defines the voting rules for the network.
|
static class |
CfnMember.Builder
A fluent builder for
CfnMember . |
static interface |
CfnMember.MemberConfigurationProperty
Configuration properties of the member.
|
static interface |
CfnMember.MemberFabricConfigurationProperty
Configuration properties for Hyperledger Fabric for a member in a Managed Blockchain network that is using the Hyperledger Fabric framework.
|
static interface |
CfnMember.MemberFrameworkConfigurationProperty
Configuration properties relevant to a member for the blockchain framework that the Managed Blockchain network uses.
|
static interface |
CfnMember.NetworkConfigurationProperty
Configuration properties of the network to which the member belongs.
|
static interface |
CfnMember.NetworkFabricConfigurationProperty
Hyperledger Fabric configuration properties for the network.
|
static interface |
CfnMember.NetworkFrameworkConfigurationProperty
Configuration properties relevant to the network for the blockchain framework that the network uses.
|
static interface |
CfnMember.VotingPolicyProperty
The voting rules for the network to decide if a proposal is accepted.
|
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 |
---|---|
|
CfnMember(Construct scope,
java.lang.String id,
CfnMemberProps props)
Create a new `AWS::ManagedBlockchain::Member`.
|
protected |
CfnMember(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnMember(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrMemberId()
The unique identifier of the member.
|
java.lang.String |
getAttrNetworkId()
The unique identifier of the network to which the member belongs.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getInvitationId()
The unique identifier of the invitation to join the network sent to the account that creates the member.
|
java.lang.Object |
getMemberConfiguration()
Configuration properties of the member.
|
java.lang.Object |
getNetworkConfiguration()
Configuration properties of the network to which the member belongs.
|
java.lang.String |
getNetworkId()
The unique identifier of the network to which the member belongs.
|
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 |
setInvitationId(java.lang.String value)
The unique identifier of the invitation to join the network sent to the account that creates the member.
|
void |
setMemberConfiguration(CfnMember.MemberConfigurationProperty value)
Configuration properties of the member.
|
void |
setMemberConfiguration(IResolvable value)
Configuration properties of the member.
|
void |
setNetworkConfiguration(CfnMember.NetworkConfigurationProperty value)
Configuration properties of the network to which the member belongs.
|
void |
setNetworkConfiguration(IResolvable value)
Configuration properties of the network to which the member belongs.
|
void |
setNetworkId(java.lang.String value)
The unique identifier of the network to which the member belongs.
|
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 CfnMember(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnMember(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnMember(Construct scope, java.lang.String id, CfnMemberProps 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 getAttrMemberId()
public java.lang.String getAttrNetworkId()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.Object getMemberConfiguration()
public void setMemberConfiguration(CfnMember.MemberConfigurationProperty value)
public void setMemberConfiguration(IResolvable value)
public java.lang.String getInvitationId()
public void setInvitationId(java.lang.String value)
public java.lang.Object getNetworkConfiguration()
public void setNetworkConfiguration(IResolvable value)
public void setNetworkConfiguration(CfnMember.NetworkConfigurationProperty value)
public java.lang.String getNetworkId()
public void setNetworkId(java.lang.String value)