Skip to content

aws.managedblockchain.get_network

Example SQL Queries

SELECT * FROM
aws.managedblockchain.get_network
WHERE
"network_id" = 'VALUE';

Description

Returns detailed information about a network.

Applies to Hyperledger Fabric and Ethereum.

Table Definition

Column NameColumn Data Type
network_id Required Input Column

The unique identifier of the network to get information about.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
network

An object containing network configuration parameters.

STRUCT(
"id" VARCHAR,
"name" VARCHAR,
"description" VARCHAR,
"framework" VARCHAR,
"framework_version" VARCHAR,
"framework_attributes" STRUCT(
"fabric" STRUCT(
"ordering_service_endpoint" VARCHAR,
"edition" VARCHAR
),
"ethereum" STRUCT(
"chain_id" VARCHAR
)
),
"vpc_endpoint_service_name" VARCHAR,
"voting_policy" STRUCT(
"approval_threshold_policy" STRUCT(
"threshold_percentage" BIGINT,
"proposal_duration_in_hours" BIGINT,
"threshold_comparator" VARCHAR
)
),
"status" VARCHAR,
"creation_date" TIMESTAMP_S,
"tags" MAP(VARCHAR, VARCHAR),
"arn" VARCHAR
)
Show child fields
network.arn

The Amazon Resource Name (ARN) of the network. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

network.creation_date

The date and time that the network was created.

network.description

Attributes of the blockchain framework for the network.

network.framework

The blockchain framework that the network uses.

network.framework_attributes

Attributes of the blockchain framework that the network uses.

Show child fields
network.framework_attributes.ethereum

Attributes of an Ethereum network for Managed Blockchain resources participating in an Ethereum network.

Show child fields
network.framework_attributes.ethereum.chain_id

The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:

  • mainnet = 1

network.framework_attributes.fabric

Attributes of Hyperledger Fabric for a Managed Blockchain network that uses Hyperledger Fabric.

Show child fields
network.framework_attributes.fabric.edition

The edition of Amazon Managed Blockchain that Hyperledger Fabric uses. For more information, see Amazon Managed Blockchain Pricing.

network.framework_attributes.fabric.ordering_service_endpoint

The endpoint of the ordering service for the network.

network.framework_version

The version of the blockchain framework that the network uses.

network.id

The unique identifier of the network.

network.name

The name of the network.

network.status

The current status of the network.

network.tags

Tags assigned to the network. Each tag consists of a key and optional value.

For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.

network.voting_policy

The voting rules that the network uses to decide if a proposal is accepted.

Show child fields
network.voting_policy.approval_threshold_policy

Defines the rules for the network for voting on proposals, such as the percentage of YES votes required for the proposal to be approved and the duration of the proposal. The policy applies to all proposals and is specified when the network is created.

Show child fields
network.voting_policy.approval_threshold_policy.proposal_duration_in_hours

The duration from the time that a proposal is created until it expires. If members cast neither the required number of YES votes to approve the proposal nor the number of NO votes required to reject it before the duration expires, the proposal is EXPIRED and ProposalActions aren't carried out.

network.voting_policy.approval_threshold_policy.threshold_comparator

Determines whether the vote percentage must be greater than the ThresholdPercentage or must be greater than or equal to the ThresholdPercentage to be approved.

network.voting_policy.approval_threshold_policy.threshold_percentage

The percentage of votes among all members that must be YES for a proposal to be approved. For example, a ThresholdPercentage value of 50 indicates 50%. The ThresholdComparator determines the precise comparison. If a ThresholdPercentage value of 50 is specified on a network with 10 members, along with a ThresholdComparator value of GREATER_THAN, this indicates that 6 YES votes are required for the proposal to be approved.

network.vpc_endpoint_service_name

The VPC endpoint service name of the VPC endpoint service of the network. Members use the VPC endpoint service name to create a VPC endpoint to access network resources.