java.lang.Object
software.amazon.jsii.JsiiObject
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:59.854Z") @Stability(Stable) public class CfnAccessor extends CfnResource implements IInspectable
A CloudFormation AWS::ManagedBlockchain::Accessor.

Creates a new accessor for use with Managed Blockchain Ethereum nodes. An accessor contains information required for token based access to your Ethereum nodes.

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.*;
 CfnAccessor cfnAccessor = CfnAccessor.Builder.create(this, "MyCfnAccessor")
         .accessorType("accessorType")
         // the properties below are optional
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnAccessor

      protected CfnAccessor(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnAccessor

      protected CfnAccessor(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnAccessor

      @Stability(Stable) public CfnAccessor(@NotNull Construct scope, @NotNull String id, @NotNull CfnAccessorProps props)
      Create a new AWS::ManagedBlockchain::Accessor.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
      This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector -
      • tree inspector to collect and process attributes.
      This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      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 .

    • getAttrBillingToken

      @Stability(Stable) @NotNull public String getAttrBillingToken()
      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.

    • getAttrCreationDate

      @Stability(Stable) @NotNull public String getAttrCreationDate()
      The creation date and time of the accessor.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The unique identifier of the accessor.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The current status of the accessor.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager 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 .

    • getAccessorType

      @Stability(Stable) @NotNull public String getAccessorType()
      The type of the accessor.

      Currently, accessor type is restricted to BILLING_TOKEN .

    • setAccessorType

      @Stability(Stable) public void setAccessorType(@NotNull String value)
      The type of the accessor.

      Currently, accessor type is restricted to BILLING_TOKEN .