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.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIScalableFunctionAttribute
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionvoid
scaleOnSchedule
(String id, ScalingSchedule actions) Scale out or in based on schedule.void
Scale out or in to keep utilization at a given level.Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
scaleOnSchedule
Scale out or in based on schedule.- Parameters:
id
- This parameter is required.actions
- This parameter is required.
-
scaleOnUtilization
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.
-