Class CfnMember
A CloudFormation AWS::ManagedBlockchain::Member
.
Inherited Members
Namespace: Amazon.CDK.AWS.ManagedBlockchain
Assembly: Amazon.CDK.AWS.ManagedBlockchain.dll
Syntax (csharp)
public class CfnMember : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnMember
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a member within a Managed Blockchain network.
Applies only to Hyperledger Fabric.
CloudformationResource: AWS::ManagedBlockchain::Member
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ManagedBlockchain;
var cfnMember = new CfnMember(this, "MyCfnMember", new CfnMemberProps {
MemberConfiguration = new MemberConfigurationProperty {
Name = "name",
// the properties below are optional
Description = "description",
MemberFrameworkConfiguration = new MemberFrameworkConfigurationProperty {
MemberFabricConfiguration = new MemberFabricConfigurationProperty {
AdminPassword = "adminPassword",
AdminUsername = "adminUsername"
}
}
},
// the properties below are optional
InvitationId = "invitationId",
NetworkConfiguration = new NetworkConfigurationProperty {
Framework = "framework",
FrameworkVersion = "frameworkVersion",
Name = "name",
VotingPolicy = new VotingPolicyProperty {
ApprovalThresholdPolicy = new ApprovalThresholdPolicyProperty {
ProposalDurationInHours = 123,
ThresholdComparator = "thresholdComparator",
ThresholdPercentage = 123
}
},
// the properties below are optional
Description = "description",
NetworkFrameworkConfiguration = new NetworkFrameworkConfigurationProperty {
NetworkFabricConfiguration = new NetworkFabricConfigurationProperty {
Edition = "edition"
}
}
},
NetworkId = "networkId"
});
Synopsis
Constructors
CfnMember(Construct, String, ICfnMemberProps) | Create a new |
CfnMember(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnMember(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrMemberId | The unique identifier of the member. |
AttrNetworkId | The unique identifier of the network to which the member belongs. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
InvitationId | The unique identifier of the invitation to join the network sent to the account that creates the member. |
MemberConfiguration | Configuration properties of the member. |
NetworkConfiguration | Configuration properties of the network to which the member belongs. |
NetworkId | The unique identifier of the network to which the member belongs. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnMember(Construct, String, ICfnMemberProps)
Create a new AWS::ManagedBlockchain::Member
.
public CfnMember(Construct scope, string id, ICfnMemberProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnMemberProps
- resource properties.
CfnMember(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnMember(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnMember(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnMember(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrMemberId
The unique identifier of the member.
public virtual string AttrMemberId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: MemberId
AttrNetworkId
The unique identifier of the network to which the member belongs.
public virtual string AttrNetworkId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: NetworkId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
InvitationId
The unique identifier of the invitation to join the network sent to the account that creates the member.
public virtual string InvitationId { get; set; }
Property Value
System.String
Remarks
MemberConfiguration
Configuration properties of the member.
public virtual object MemberConfiguration { get; set; }
Property Value
System.Object
Remarks
NetworkConfiguration
Configuration properties of the network to which the member belongs.
public virtual object NetworkConfiguration { get; set; }
Property Value
System.Object
Remarks
NetworkId
The unique identifier of the network to which the member belongs.
public virtual string NetworkId { get; set; }
Property Value
System.String
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>