CfnAccessorProps

class aws_cdk.aws_managedblockchain.CfnAccessorProps(*, accessor_type, network_type=None, tags=None)

Bases: object

Properties for defining a CfnAccessor.

Parameters:
  • accessor_type (str) – The type of the accessor. .. epigraph:: Currently, accessor type is restricted to BILLING_TOKEN .

  • network_type (Optional[str]) – The blockchain network that the Accessor token is created for. .. epigraph:: We recommend using the appropriate networkType value for the blockchain network that you are creating the Accessor token for. You cannot use the value ETHEREUM_MAINNET_AND_GOERLI to specify a networkType for your Accessor token. The default value of ETHEREUM_MAINNET_AND_GOERLI is only applied: - when the CreateAccessor action does not set a networkType . - to all existing Accessor tokens that were created before the networkType property was introduced.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) –

    The tags assigned to the Accessor. 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 .

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

cfn_accessor_props = managedblockchain.CfnAccessorProps(
    accessor_type="accessorType",

    # the properties below are optional
    network_type="networkType",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

accessor_type

The type of the accessor.

Currently, accessor type is restricted to BILLING_TOKEN .

See:

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

network_type

The blockchain network that the Accessor token is created for.

We recommend using the appropriate networkType value for the blockchain network that you are creating the Accessor token for. You cannot use the value ETHEREUM_MAINNET_AND_GOERLI to specify a networkType for your Accessor token.

The default value of ETHEREUM_MAINNET_AND_GOERLI is only applied:

  • when the CreateAccessor action does not set a networkType .

  • to all existing Accessor tokens that were created before the networkType property was introduced.

See:

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

tags

The tags assigned to the Accessor.

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 .

See:

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