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 toBILLING_TOKEN
.network_type (
Optional
[str
]) – The blockchain network that theAccessor
token is created for. .. epigraph:: We recommend using the appropriatenetworkType
value for the blockchain network that you are creating theAccessor
token for. You cannot use the valueETHEREUM_MAINNET_AND_GOERLI
to specify anetworkType
for your Accessor token. The default value ofETHEREUM_MAINNET_AND_GOERLI
is only applied: - when theCreateAccessor
action does not set anetworkType
. - to all existingAccessor
tokens that were created before thenetworkType
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:
- 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
.
- 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 theAccessor
token for. You cannot use the valueETHEREUM_MAINNET_AND_GOERLI
to specify anetworkType
for your Accessor token.The default value of
ETHEREUM_MAINNET_AND_GOERLI
is only applied:when the
CreateAccessor
action does not set anetworkType
.to all existing
Accessor
tokens that were created before thenetworkType
property was introduced.
- 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 .