Interface IScalableFunctionAttribute.Jsii$Default

All Superinterfaces:
IConstruct, software.constructs.IConstruct, IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Default, IDependable, IDependable.Jsii$Default, IScalableFunctionAttribute, software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
IScalableFunctionAttribute.Jsii$Proxy
Enclosing interface:
IScalableFunctionAttribute

@Internal public static interface IScalableFunctionAttribute.Jsii$Default extends IScalableFunctionAttribute, IConstruct.Jsii$Default
Internal default implementation for IScalableFunctionAttribute.
  • Method Details

    • getNode

      @Stability(Stable) @NotNull default ConstructNode getNode()
      The construct tree node for this construct.
      Specified by:
      getNode in interface IConstruct
      Specified by:
      getNode in interface IConstruct.Jsii$Default
    • scaleOnSchedule

      @Stability(Stable) default void scaleOnSchedule(@NotNull String id, @NotNull ScalingSchedule actions)
      Scale out or in based on schedule.

      Specified by:
      scaleOnSchedule in interface IScalableFunctionAttribute
      Parameters:
      id - This parameter is required.
      actions - This parameter is required.
    • scaleOnUtilization

      @Stability(Stable) default void scaleOnUtilization(@NotNull UtilizationScalingOptions options)
      Scale out or in to keep utilization at a given level.

      The utilization is tracked by the LambdaProvisionedConcurrencyUtilization metric, emitted by lambda. See: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics.html#monitoring-metrics-concurrency

      Specified by:
      scaleOnUtilization in interface IScalableFunctionAttribute
      Parameters:
      options - This parameter is required.