@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.748Z") @Stability(value=Stable) 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 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.
|
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 |
|---|---|
|
CfnMember(software.constructs.Construct scope,
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 |
|---|---|
String |
getAttrMemberId()
The unique identifier of the member.
|
String |
getAttrNetworkId()
The unique identifier of the network to which the member belongs.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getInvitationId()
The unique identifier of the invitation to join the network sent to the account that creates the member.
|
Object |
getMemberConfiguration()
Configuration properties of the member.
|
Object |
getNetworkConfiguration()
Configuration properties of the network to which the member belongs.
|
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 Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setInvitationId(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(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, 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 CfnMember(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnMember(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnMember(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
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.@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 getAttrMemberId()
@Stability(value=Stable) @NotNull public String getAttrNetworkId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getMemberConfiguration()
@Stability(value=Stable)
public void setMemberConfiguration(@NotNull
CfnMember.MemberConfigurationProperty value)
@Stability(value=Stable)
public void setMemberConfiguration(@NotNull
IResolvable value)
@Stability(value=Stable) @Nullable public String getInvitationId()
@Stability(value=Stable)
public void setInvitationId(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getNetworkConfiguration()
@Stability(value=Stable)
public void setNetworkConfiguration(@Nullable
CfnMember.NetworkConfigurationProperty value)
@Stability(value=Stable)
public void setNetworkConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getNetworkId()
@Stability(value=Stable)
public void setNetworkId(@Nullable
String value)
Copyright © 2022. All rights reserved.