AWS::ManagedBlockchain::Accessor - AWS CloudFormation

AWS::ManagedBlockchain::Accessor

Creates a new accessor for use with Amazon Managed Blockchain service that supports token based access. The accessor contains information required for token based access.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::ManagedBlockchain::Accessor", "Properties" : { "AccessorType" : String, "NetworkType" : String, "Tags" : [ Tag, ... ] } }

YAML

Type: AWS::ManagedBlockchain::Accessor Properties: AccessorType: String NetworkType: String Tags: - Tag

Properties

AccessorType

The type of the accessor.

Note

Currently, accessor type is restricted to BILLING_TOKEN.

Required: Yes

Type: String

Allowed values: BILLING_TOKEN

Update requires: Replacement

NetworkType

The blockchain network that the Accessor token is created for.

Note

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.

Required: No

Type: String

Allowed values: ETHEREUM_GOERLI | ETHEREUM_MAINNET | ETHEREUM_MAINNET_AND_GOERLI | POLYGON_MAINNET | POLYGON_MUMBAI

Update requires: Replacement

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.

Required: No

Type: Array of Tag

Maximum: 50

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the Accessor ID.

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

Arn

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

BillingToken

The billing token is a property of the accessor. Use this token to make Ethereum API calls to your Ethereum node. The billing token is used to track your accessor object for billing Ethereum API requests made to your Ethereum nodes.

CreationDate

The creation date and time of the accessor.

Id

The unique identifier of the accessor.

Status

The current status of the accessor.