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

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-21T06:34:10.871Z") @Stability(Stable) public class CfnAccessor extends CfnResource implements IInspectable, ITaggable
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.

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
         .networkType("networkType")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnAccessorProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). 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()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getAccessorType

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

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

      @Stability(Stable) @Nullable public String getNetworkType()
      The blockchain network that the Accessor token is created for.
    • setNetworkType

      @Stability(Stable) public void setNetworkType(@Nullable String value)
      The blockchain network that the Accessor token is created for.
    • getTagsRaw

      @Stability(Stable) @Nullable public List<CfnTag> getTagsRaw()
      The tags assigned to the Accessor.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable List<CfnTag> value)
      The tags assigned to the Accessor.