CfnMemberProps

class aws_cdk.aws_managedblockchain.CfnMemberProps(*, member_configuration, invitation_id=None, network_configuration=None, network_id=None)

Bases: object

Properties for defining a CfnMember.

Parameters:
  • member_configuration (Union[MemberConfigurationProperty, Dict[str, Any], IResolvable]) – Configuration properties of the member.

  • invitation_id (Optional[str]) – The unique identifier of the invitation to join the network sent to the account that creates the member.

  • network_configuration (Union[IResolvable, NetworkConfigurationProperty, Dict[str, Any], None]) – Configuration properties of the network to which the member belongs.

  • network_id (Optional[str]) – The unique identifier of the network to which the member belongs.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-member.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_managedblockchain as managedblockchain

cfn_member_props = managedblockchain.CfnMemberProps(
    member_configuration=managedblockchain.CfnMember.MemberConfigurationProperty(
        name="name",

        # the properties below are optional
        description="description",
        member_framework_configuration=managedblockchain.CfnMember.MemberFrameworkConfigurationProperty(
            member_fabric_configuration=managedblockchain.CfnMember.MemberFabricConfigurationProperty(
                admin_password="adminPassword",
                admin_username="adminUsername"
            )
        )
    ),

    # the properties below are optional
    invitation_id="invitationId",
    network_configuration=managedblockchain.CfnMember.NetworkConfigurationProperty(
        framework="framework",
        framework_version="frameworkVersion",
        name="name",
        voting_policy=managedblockchain.CfnMember.VotingPolicyProperty(
            approval_threshold_policy=managedblockchain.CfnMember.ApprovalThresholdPolicyProperty(
                proposal_duration_in_hours=123,
                threshold_comparator="thresholdComparator",
                threshold_percentage=123
            )
        ),

        # the properties below are optional
        description="description",
        network_framework_configuration=managedblockchain.CfnMember.NetworkFrameworkConfigurationProperty(
            network_fabric_configuration=managedblockchain.CfnMember.NetworkFabricConfigurationProperty(
                edition="edition"
            )
        )
    ),
    network_id="networkId"
)

Attributes

invitation_id

The unique identifier of the invitation to join the network sent to the account that creates the member.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-member.html#cfn-managedblockchain-member-invitationid

member_configuration

Configuration properties of the member.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-member.html#cfn-managedblockchain-member-memberconfiguration

network_configuration

Configuration properties of the network to which the member belongs.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-member.html#cfn-managedblockchain-member-networkconfiguration

network_id

The unique identifier of the network to which the member belongs.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-managedblockchain-member.html#cfn-managedblockchain-member-networkid