Interface IMemory.Jsii$Default

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IConstruct.Jsii$Default, software.constructs.IDependable, software.constructs.IDependable.Jsii$Default, IEnvironmentAware, IEnvironmentAware.Jsii$Default, IGrantable, IGrantable.Jsii$Default, IMemory, IMemoryRef, IMemoryRef.Jsii$Default, IResource, IResource.Jsii$Default, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IMemory.Jsii$Proxy
Enclosing interface:
IMemory

@Internal public static interface IMemory.Jsii$Default extends IMemory, IResource.Jsii$Default, IMemoryRef.Jsii$Default, IGrantable.Jsii$Default
Internal default implementation for IMemory.
  • Method Details

    • getMemoryArn

      @Stability(Stable) @NotNull default String getMemoryArn()
      The ARN of the memory resource.
      Specified by:
      getMemoryArn in interface IMemory
    • getMemoryId

      @Stability(Stable) @NotNull default String getMemoryId()
      The id of the memory.
      Specified by:
      getMemoryId in interface IMemory
    • getCreatedAt

      @Stability(Stable) @Nullable default String getCreatedAt()
      Timestamp when the memory was created.
      Specified by:
      getCreatedAt in interface IMemory
    • getExecutionRole

      @Stability(Stable) @Nullable default IRole getExecutionRole()
      The IAM role that provides permissions for the memory to access AWS services.
      Specified by:
      getExecutionRole in interface IMemory
    • getKmsKey

      @Stability(Stable) @Nullable default IKey getKmsKey()
      Custom KMS key for encryption (if provided).
      Specified by:
      getKmsKey in interface IMemory
    • getStatus

      @Stability(Stable) @Nullable default String getStatus()
      The status of the memory.
      Specified by:
      getStatus in interface IMemory
    • getUpdatedAt

      @Stability(Stable) @Nullable default String getUpdatedAt()
      Timestamp when the memory was last updated.
      Specified by:
      getUpdatedAt in interface IMemory
    • grant

      @Stability(Stable) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions)
      Grant the given principal identity permissions to perform actions on this memory.

      Specified by:
      grant in interface IMemory
      Parameters:
      grantee - This parameter is required.
      actions - This parameter is required.
    • grantAdmin

      @Stability(Stable) @NotNull default Grant grantAdmin(@NotNull IGrantable grantee)
      Grant the given principal identity permissions to manage the control plane of this memory.

      Specified by:
      grantAdmin in interface IMemory
      Parameters:
      grantee - This parameter is required.
    • grantDelete

      @Stability(Stable) @NotNull default Grant grantDelete(@NotNull IGrantable grantee)
      Grant the given principal identity permissions to delete content on this memory.

      Specified by:
      grantDelete in interface IMemory
      Parameters:
      grantee - This parameter is required.
    • grantDeleteLongTermMemory

      @Stability(Stable) @NotNull default Grant grantDeleteLongTermMemory(@NotNull IGrantable grantee)
      Grant the given principal identity permissions to delete Long-Term Memory (LTM) content on this memory.

      Specified by:
      grantDeleteLongTermMemory in interface IMemory
      Parameters:
      grantee - This parameter is required.
    • grantDeleteShortTermMemory

      @Stability(Stable) @NotNull default Grant grantDeleteShortTermMemory(@NotNull IGrantable grantee)
      Grant the given principal identity permissions to delete Short-Term Memory (STM) content on this memory.

      Specified by:
      grantDeleteShortTermMemory in interface IMemory
      Parameters:
      grantee - This parameter is required.
    • grantFullAccess

      @Stability(Stable) @NotNull default Grant grantFullAccess(@NotNull IGrantable grantee)
      Grant the given principal identity permissions to do every action on this memory.

      Specified by:
      grantFullAccess in interface IMemory
      Parameters:
      grantee - This parameter is required.
    • grantRead

      @Stability(Stable) @NotNull default Grant grantRead(@NotNull IGrantable grantee)
      Grant the given principal identity permissions to read the contents of this memory.

      Both Short-Term Memory (STM) and Long-Term Memory (LTM).

      Specified by:
      grantRead in interface IMemory
      Parameters:
      grantee - This parameter is required.
    • grantReadLongTermMemory

      @Stability(Stable) @NotNull default Grant grantReadLongTermMemory(@NotNull IGrantable grantee)
      Grant the given principal identity permissions to read the Long-Term Memory (LTM) contents of this memory.

      Specified by:
      grantReadLongTermMemory in interface IMemory
      Parameters:
      grantee - This parameter is required.
    • grantReadShortTermMemory

      @Stability(Stable) @NotNull default Grant grantReadShortTermMemory(@NotNull IGrantable grantee)
      Grant the given principal identity permissions to read the Short-Term Memory (STM) contents of this memory.

      Specified by:
      grantReadShortTermMemory in interface IMemory
      Parameters:
      grantee - This parameter is required.
    • grantWrite

      @Stability(Stable) @NotNull default Grant grantWrite(@NotNull IGrantable grantee)
      Grant the given principal identity permissions to write content to this memory.

      Specified by:
      grantWrite in interface IMemory
      Parameters:
      grantee - This parameter is required.
    • metric

      @Stability(Stable) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
      Return the given named metric for this memory.

      Specified by:
      metric in interface IMemory
      Parameters:
      metricName - This parameter is required.
      props -
    • metric

      @Stability(Stable) @NotNull default Metric metric(@NotNull String metricName)
      Return the given named metric for this memory.

      Specified by:
      metric in interface IMemory
      Parameters:
      metricName - This parameter is required.
    • metricErrorsForApiOperation

      @Stability(Stable) @NotNull default Metric metricErrorsForApiOperation(@NotNull String operation, @Nullable MetricOptions props)
      Return a metric containing the number of errors for a specific API operation performed on this memory.

      Specified by:
      metricErrorsForApiOperation in interface IMemory
      Parameters:
      operation - This parameter is required.
      props -
    • metricErrorsForApiOperation

      @Stability(Stable) @NotNull default Metric metricErrorsForApiOperation(@NotNull String operation)
      Return a metric containing the number of errors for a specific API operation performed on this memory.

      Specified by:
      metricErrorsForApiOperation in interface IMemory
      Parameters:
      operation - This parameter is required.
    • metricEventCreationCount

      @Stability(Stable) @NotNull default Metric metricEventCreationCount(@Nullable MetricOptions props)
      Returns the metric containing the number of created memory events and memory records.

      Specified by:
      metricEventCreationCount in interface IMemory
      Parameters:
      props -
    • metricEventCreationCount

      @Stability(Stable) @NotNull default Metric metricEventCreationCount()
      Returns the metric containing the number of created memory events and memory records.
      Specified by:
      metricEventCreationCount in interface IMemory
    • metricForApiOperation

      @Stability(Stable) @NotNull default Metric metricForApiOperation(@NotNull String metricName, @NotNull String operation, @Nullable MetricOptions props)
      Return the given named metric related to the API operation performed on this memory.

      Specified by:
      metricForApiOperation in interface IMemory
      Parameters:
      metricName - This parameter is required.
      operation - This parameter is required.
      props -
    • metricForApiOperation

      @Stability(Stable) @NotNull default Metric metricForApiOperation(@NotNull String metricName, @NotNull String operation)
      Return the given named metric related to the API operation performed on this memory.

      Specified by:
      metricForApiOperation in interface IMemory
      Parameters:
      metricName - This parameter is required.
      operation - This parameter is required.
    • metricInvocationsForApiOperation

      @Stability(Stable) @NotNull default Metric metricInvocationsForApiOperation(@NotNull String operation, @Nullable MetricOptions props)
      Return a metric containing the total number of API requests made for a specific memory operation.

      Specified by:
      metricInvocationsForApiOperation in interface IMemory
      Parameters:
      operation - This parameter is required.
      props -
    • metricInvocationsForApiOperation

      @Stability(Stable) @NotNull default Metric metricInvocationsForApiOperation(@NotNull String operation)
      Return a metric containing the total number of API requests made for a specific memory operation.

      Specified by:
      metricInvocationsForApiOperation in interface IMemory
      Parameters:
      operation - This parameter is required.
    • metricLatencyForApiOperation

      @Stability(Stable) @NotNull default Metric metricLatencyForApiOperation(@NotNull String operation, @Nullable MetricOptions props)
      Return a metric measuring the latency of a specific API operation performed on this memory.

      Specified by:
      metricLatencyForApiOperation in interface IMemory
      Parameters:
      operation - This parameter is required.
      props -
    • metricLatencyForApiOperation

      @Stability(Stable) @NotNull default Metric metricLatencyForApiOperation(@NotNull String operation)
      Return a metric measuring the latency of a specific API operation performed on this memory.

      Specified by:
      metricLatencyForApiOperation in interface IMemory
      Parameters:
      operation - This parameter is required.