Interface ICodeInterpreterCustom.Jsii$Default

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

Internal default implementation for ICodeInterpreterCustom.
  • Method Details

    • getCodeInterpreterArn

      @Stability(Stable) @NotNull default String getCodeInterpreterArn()
      The ARN of the code interpreter resource.
      Specified by:
      getCodeInterpreterArn in interface ICodeInterpreterCustom
    • getCodeInterpreterId

      @Stability(Stable) @NotNull default String getCodeInterpreterId()
      The id of the code interpreter.
      Specified by:
      getCodeInterpreterId in interface ICodeInterpreterCustom
    • getExecutionRole

      @Stability(Stable) @NotNull default IRole getExecutionRole()
      The IAM role that provides permissions for the code interpreter to access AWS services.
      Specified by:
      getExecutionRole in interface ICodeInterpreterCustom
    • getCreatedAt

      @Stability(Stable) @Nullable default String getCreatedAt()
      Timestamp when the code interpreter was created.
      Specified by:
      getCreatedAt in interface ICodeInterpreterCustom
    • getLastUpdatedAt

      @Stability(Stable) @Nullable default String getLastUpdatedAt()
      Timestamp when the code interpreter was last updated.
      Specified by:
      getLastUpdatedAt in interface ICodeInterpreterCustom
    • getStatus

      @Stability(Stable) @Nullable default String getStatus()
      The status of the code interpreter.
      Specified by:
      getStatus in interface ICodeInterpreterCustom
    • grant

      @Stability(Stable) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions)
      Grants IAM actions to the IAM Principal.

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

      @Stability(Stable) @NotNull default Grant grantRead(@NotNull IGrantable grantee)
      Grants Get and List actions on the Code Interpreter.

      Specified by:
      grantRead in interface ICodeInterpreterCustom
      Parameters:
      grantee - This parameter is required.
    • grantUse

      @Stability(Stable) @NotNull default Grant grantUse(@NotNull IGrantable grantee)
      Grants Invoke, Start, and Stop actions on the Code Interpreter.

      Specified by:
      grantUse in interface ICodeInterpreterCustom
      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 code interpreter.

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

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

      Specified by:
      metric in interface ICodeInterpreterCustom
      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 code interpreter.

      Specified by:
      metricErrorsForApiOperation in interface ICodeInterpreterCustom
      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 code interpreter.

      Specified by:
      metricErrorsForApiOperation in interface ICodeInterpreterCustom
      Parameters:
      operation - This parameter is required.
    • 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 code interpreter.

      Specified by:
      metricForApiOperation in interface ICodeInterpreterCustom
      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 code interpreter.

      Specified by:
      metricForApiOperation in interface ICodeInterpreterCustom
      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 code interpreter operation.

      Specified by:
      metricInvocationsForApiOperation in interface ICodeInterpreterCustom
      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 code interpreter operation.

      Specified by:
      metricInvocationsForApiOperation in interface ICodeInterpreterCustom
      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 code interpreter.

      Specified by:
      metricLatencyForApiOperation in interface ICodeInterpreterCustom
      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 code interpreter.

      Specified by:
      metricLatencyForApiOperation in interface ICodeInterpreterCustom
      Parameters:
      operation - This parameter is required.
    • metricSessionDuration

      @Stability(Stable) @NotNull default Metric metricSessionDuration(@Nullable MetricOptions props)
      Return a metric measuring the duration of code interpreter sessions.

      Specified by:
      metricSessionDuration in interface ICodeInterpreterCustom
      Parameters:
      props -
    • metricSessionDuration

      @Stability(Stable) @NotNull default Metric metricSessionDuration()
      Return a metric measuring the duration of code interpreter sessions.
      Specified by:
      metricSessionDuration in interface ICodeInterpreterCustom
    • metricSystemErrorsForApiOperation

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

      Specified by:
      metricSystemErrorsForApiOperation in interface ICodeInterpreterCustom
      Parameters:
      operation - This parameter is required.
      props -
    • metricSystemErrorsForApiOperation

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

      Specified by:
      metricSystemErrorsForApiOperation in interface ICodeInterpreterCustom
      Parameters:
      operation - This parameter is required.
    • metricThrottlesForApiOperation

      @Stability(Stable) @NotNull default Metric metricThrottlesForApiOperation(@NotNull String operation, @Nullable MetricOptions props)
      Return a metric containing the number of throttled requests for a specific API operation performed on this code interpreter.

      Specified by:
      metricThrottlesForApiOperation in interface ICodeInterpreterCustom
      Parameters:
      operation - This parameter is required.
      props -
    • metricThrottlesForApiOperation

      @Stability(Stable) @NotNull default Metric metricThrottlesForApiOperation(@NotNull String operation)
      Return a metric containing the number of throttled requests for a specific API operation performed on this code interpreter.

      Specified by:
      metricThrottlesForApiOperation in interface ICodeInterpreterCustom
      Parameters:
      operation - This parameter is required.
    • metricUserErrorsForApiOperation

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

      Specified by:
      metricUserErrorsForApiOperation in interface ICodeInterpreterCustom
      Parameters:
      operation - This parameter is required.
      props -
    • metricUserErrorsForApiOperation

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

      Specified by:
      metricUserErrorsForApiOperation in interface ICodeInterpreterCustom
      Parameters:
      operation - This parameter is required.