Interface IScalableFunctionAttribute

All Superinterfaces:
IConstruct, software.constructs.IConstruct, IDependable,
All Known Subinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.791Z") @Stability(Stable) public interface IScalableFunctionAttribute extends, 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.

      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:

      options - This parameter is required.