Interface IBrowserCustom

All Superinterfaces:
IBrowserCustomRef, IConnectable, software.constructs.IConstruct, software.constructs.IDependable, IEnvironmentAware, IGrantable, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IBrowserCustom.Jsii$Default
All Known Implementing Classes:
BrowserCustom, BrowserCustomBase, IBrowserCustom.Jsii$Proxy

@Generated(value="jsii-pacmak/1.129.0 (build eaca441)", date="2026-05-19T08:18:44.422Z") @Stability(Stable) public interface IBrowserCustom extends software.amazon.jsii.JsiiSerializable, IResource, IGrantable, IConnectable, IBrowserCustomRef
Interface for Browser resources.
  • Method Details

    • getBrowserArn

      @Stability(Stable) @NotNull String getBrowserArn()
      The ARN of the browser resource.
    • getBrowserId

      @Stability(Stable) @NotNull String getBrowserId()
      The id of the browser.
    • getExecutionRole

      @Stability(Stable) @NotNull IRole getExecutionRole()
      The IAM role that provides permissions for the browser to access AWS services.
    • getCreatedAt

      @Stability(Stable) @Nullable default String getCreatedAt()
      Timestamp when the browser was created.
    • getLastUpdatedAt

      @Stability(Stable) @Nullable default String getLastUpdatedAt()
      Timestamp when the browser was last updated.
    • getStatus

      @Stability(Stable) @Nullable default String getStatus()
      The status of the browser.
    • grant

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

      Parameters:
      grantee - This parameter is required.
      actions - This parameter is required.
    • grantRead

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

      Parameters:
      grantee - This parameter is required.
    • grantUse

      @Stability(Stable) @NotNull Grant grantUse(@NotNull IGrantable grantee)
      Grants Invoke, Start, and Update actions on the Browser.

      Parameters:
      grantee - This parameter is required.
    • metric

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

      Parameters:
      metricName - This parameter is required.
      props -
    • metric

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

      Parameters:
      metricName - This parameter is required.
    • metricErrorsForApiOperation

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

      Parameters:
      operation - This parameter is required.
      props -
    • metricErrorsForApiOperation

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

      Parameters:
      operation - This parameter is required.
    • metricForApiOperation

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

      Parameters:
      metricName - This parameter is required.
      operation - This parameter is required.
      props -
    • metricForApiOperation

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

      Parameters:
      metricName - This parameter is required.
      operation - This parameter is required.
    • metricInvocationsForApiOperation

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

      Parameters:
      operation - This parameter is required.
      props -
    • metricInvocationsForApiOperation

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

      Parameters:
      operation - This parameter is required.
    • metricLatencyForApiOperation

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

      Parameters:
      operation - This parameter is required.
      props -
    • metricLatencyForApiOperation

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

      Parameters:
      operation - This parameter is required.
    • metricSessionDuration

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

      Parameters:
      props -
    • metricSessionDuration

      @Stability(Stable) @NotNull Metric metricSessionDuration()
      Return a metric measuring the duration of browser sessions.
    • metricSystemErrorsForApiOperation

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

      Parameters:
      operation - This parameter is required.
      props -
    • metricSystemErrorsForApiOperation

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

      Parameters:
      operation - This parameter is required.
    • metricTakeOverCount

      @Stability(Stable) @NotNull Metric metricTakeOverCount(@Nullable MetricOptions props)
      Return a metric containing the number of user takeovers.

      Parameters:
      props -
    • metricTakeOverCount

      @Stability(Stable) @NotNull Metric metricTakeOverCount()
      Return a metric containing the number of user takeovers.
    • metricTakeOverDuration

      @Stability(Stable) @NotNull Metric metricTakeOverDuration(@Nullable MetricOptions props)
      Return a metric measuring the duration of user takeovers.

      Parameters:
      props -
    • metricTakeOverDuration

      @Stability(Stable) @NotNull Metric metricTakeOverDuration()
      Return a metric measuring the duration of user takeovers.
    • metricTakeOverReleaseCount

      @Stability(Stable) @NotNull Metric metricTakeOverReleaseCount(@Nullable MetricOptions props)
      Return a metric containing the number of user takeovers released.

      Parameters:
      props -
    • metricTakeOverReleaseCount

      @Stability(Stable) @NotNull Metric metricTakeOverReleaseCount()
      Return a metric containing the number of user takeovers released.
    • metricThrottlesForApiOperation

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

      Parameters:
      operation - This parameter is required.
      props -
    • metricThrottlesForApiOperation

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

      Parameters:
      operation - This parameter is required.
    • metricUserErrorsForApiOperation

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

      Parameters:
      operation - This parameter is required.
      props -
    • metricUserErrorsForApiOperation

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

      Parameters:
      operation - This parameter is required.