@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:41.918Z") @Stability(value=Experimental) public abstract class BaseScalableAttribute extends Construct
This class is basically a light wrapper around ScalableTarget, but with all methods protected instead of public so they can be selectively exposed and/or more specific versions of them can be exposed by derived classes for individual services support autoscaling.
Typical use cases:
software.constructs.Construct.Buildersoftware.amazon.jsii.JsiiObject.InitializationModeIConstruct.Jsii$Default| Modifier | Constructor and Description |
|---|---|
protected |
BaseScalableAttribute(software.constructs.Construct scope,
String id,
BaseScalableAttributeProps props) |
protected |
BaseScalableAttribute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
BaseScalableAttribute(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doScaleOnMetric(String id,
BasicStepScalingPolicyProps props)
(experimental) Scale out or in based on a metric value.
|
protected void |
doScaleOnSchedule(String id,
ScalingSchedule props)
(experimental) Scale out or in based on time.
|
protected void |
doScaleToTrackMetric(String id,
BasicTargetTrackingScalingPolicyProps props)
(experimental) Scale out or in in order to keep a metric around a target value.
|
protected BaseScalableAttributeProps |
getProps() |
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected BaseScalableAttribute(software.amazon.jsii.JsiiObjectRef objRef)
protected BaseScalableAttribute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
protected BaseScalableAttribute(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
BaseScalableAttributeProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental)
protected void doScaleOnMetric(@NotNull
String id,
@NotNull
BasicStepScalingPolicyProps props)
id - This parameter is required.props - This parameter is required.@Stability(value=Experimental)
protected void doScaleOnSchedule(@NotNull
String id,
@NotNull
ScalingSchedule props)
id - This parameter is required.props - This parameter is required.@Stability(value=Experimental)
protected void doScaleToTrackMetric(@NotNull
String id,
@NotNull
BasicTargetTrackingScalingPolicyProps props)
id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull protected BaseScalableAttributeProps getProps()
Copyright © 2022. All rights reserved.