Interface CfnAccessorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAccessorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:24.948Z")
@Stability(Stable)
public interface CfnAccessorProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnAccessor.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.managedblockchain.*;
CfnAccessorProps cfnAccessorProps = CfnAccessorProps.builder()
.accessorType("accessorType")
// the properties below are optional
.networkType("networkType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAccessorPropsstatic final classAn implementation forCfnAccessorProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAccessorProps.Builderbuilder()The type of the accessor.default StringThe blockchain network that theAccessortoken is created for.getTags()The tags assigned to the Accessor.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessorType
The type of the accessor.Currently, accessor type is restricted to
BILLING_TOKEN.- See Also:
-
getNetworkType
The blockchain network that theAccessortoken is created for.We recommend using the appropriate
networkTypevalue for the blockchain network that you are creating theAccessortoken for. You cannot use the valueETHEREUM_MAINNET_AND_GOERLIto specify anetworkTypefor your Accessor token.The default value of
ETHEREUM_MAINNET_AND_GOERLIis only applied:- when the
CreateAccessoraction does not set anetworkType. - to all existing
Accessortokens that were created before thenetworkTypeproperty was introduced.
- See Also:
- when the
-
getTags
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 Also:
-
builder
- Returns:
- a
CfnAccessorProps.BuilderofCfnAccessorProps
-