java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:19.674Z") @Stability(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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnMember

      protected CfnMember(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnMember

      protected CfnMember(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnMember

      @Stability(Stable) public CfnMember(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnMemberProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrMemberId

      @Stability(Stable) @NotNull public String getAttrMemberId()
      The unique identifier of the member.
    • getAttrNetworkId

      @Stability(Stable) @NotNull public String getAttrNetworkId()
      The unique identifier of the network to which the member belongs.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getMemberConfiguration

      @Stability(Stable) @NotNull public Object getMemberConfiguration()
      Configuration properties of the member.
    • setMemberConfiguration

      @Stability(Stable) public void setMemberConfiguration(@NotNull IResolvable value)
      Configuration properties of the member.
    • setMemberConfiguration

      @Stability(Stable) public void setMemberConfiguration(@NotNull CfnMember.MemberConfigurationProperty value)
      Configuration properties of the member.
    • getInvitationId

      @Stability(Stable) @Nullable public String getInvitationId()
      The unique identifier of the invitation to join the network sent to the account that creates the member.
    • setInvitationId

      @Stability(Stable) public void setInvitationId(@Nullable String value)
      The unique identifier of the invitation to join the network sent to the account that creates the member.
    • getNetworkConfiguration

      @Stability(Stable) @Nullable public Object getNetworkConfiguration()
      Configuration properties of the network to which the member belongs.
    • setNetworkConfiguration

      @Stability(Stable) public void setNetworkConfiguration(@Nullable IResolvable value)
      Configuration properties of the network to which the member belongs.
    • setNetworkConfiguration

      @Stability(Stable) public void setNetworkConfiguration(@Nullable CfnMember.NetworkConfigurationProperty value)
      Configuration properties of the network to which the member belongs.
    • getNetworkId

      @Stability(Stable) @Nullable public String getNetworkId()
      The unique identifier of the network to which the member belongs.
    • setNetworkId

      @Stability(Stable) public void setNetworkId(@Nullable String value)
      The unique identifier of the network to which the member belongs.