Interface IScalableFunctionAttribute

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.791Z") @Stability(Stable) public interface IScalableFunctionAttribute extends software.amazon.jsii.JsiiSerializable, IConstruct
Interface for scalable attributes.
  • Method Details

    • scaleOnSchedule

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

      Parameters:
      id - This parameter is required.
      actions - This parameter is required.
    • scaleOnUtilization

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

      Parameters:
      options - This parameter is required.