Interface IScalableFunctionAttribute.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct
,software.constructs.IConstruct.Jsii$Default
,software.constructs.IDependable
,software.constructs.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, software.constructs.IConstruct.Jsii$Default
Internal default implementation for
IScalableFunctionAttribute
.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.IScalableFunctionAttribute
IScalableFunctionAttribute.Jsii$Default, IScalableFunctionAttribute.Jsii$Proxy
-
Method Summary
Modifier and TypeMethodDescriptiondefault software.constructs.Node
getNode()
The tree node.default void
scaleOnSchedule
(String id, ScalingSchedule actions) Scale out or in based on schedule.default void
Scale out or in to keep utilization at a given level.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
@Stability(Stable) @NotNull default software.constructs.Node getNode()The tree node.- Specified by:
getNode
in interfacesoftware.constructs.IConstruct
- Specified by:
getNode
in interfacesoftware.constructs.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 interfaceIScalableFunctionAttribute
- 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
- Specified by:
scaleOnUtilization
in interfaceIScalableFunctionAttribute
- Parameters:
options
- This parameter is required.
-