@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:01.116Z") @Stability(value=Stable) public class CfnScalingPolicy extends CfnResource implements IInspectable
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnScalingPolicy.Builder
A fluent builder for
CfnScalingPolicy. |
static interface |
CfnScalingPolicy.CustomizedMetricSpecificationProperty |
static interface |
CfnScalingPolicy.MetricDimensionProperty |
static interface |
CfnScalingPolicy.PredefinedMetricSpecificationProperty |
static interface |
CfnScalingPolicy.StepAdjustmentProperty |
static interface |
CfnScalingPolicy.TargetTrackingConfigurationProperty |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnScalingPolicy(software.constructs.Construct scope,
String id,
CfnScalingPolicyProps props)
Create a new `AWS::AutoScaling::ScalingPolicy`.
|
protected |
CfnScalingPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnScalingPolicy(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAdjustmentType()
`AWS::AutoScaling::ScalingPolicy.AdjustmentType`.
|
String |
getAutoScalingGroupName()
`AWS::AutoScaling::ScalingPolicy.AutoScalingGroupName`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getCooldown()
`AWS::AutoScaling::ScalingPolicy.Cooldown`.
|
Number |
getEstimatedInstanceWarmup()
`AWS::AutoScaling::ScalingPolicy.EstimatedInstanceWarmup`.
|
String |
getMetricAggregationType()
`AWS::AutoScaling::ScalingPolicy.MetricAggregationType`.
|
Number |
getMinAdjustmentMagnitude()
`AWS::AutoScaling::ScalingPolicy.MinAdjustmentMagnitude`.
|
String |
getPolicyType()
`AWS::AutoScaling::ScalingPolicy.PolicyType`.
|
Number |
getScalingAdjustment()
`AWS::AutoScaling::ScalingPolicy.ScalingAdjustment`.
|
Object |
getStepAdjustments()
`AWS::AutoScaling::ScalingPolicy.StepAdjustments`.
|
Object |
getTargetTrackingConfiguration()
`AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAdjustmentType(String value)
`AWS::AutoScaling::ScalingPolicy.AdjustmentType`.
|
void |
setAutoScalingGroupName(String value)
`AWS::AutoScaling::ScalingPolicy.AutoScalingGroupName`.
|
void |
setCooldown(String value)
`AWS::AutoScaling::ScalingPolicy.Cooldown`.
|
void |
setEstimatedInstanceWarmup(Number value)
`AWS::AutoScaling::ScalingPolicy.EstimatedInstanceWarmup`.
|
void |
setMetricAggregationType(String value)
`AWS::AutoScaling::ScalingPolicy.MetricAggregationType`.
|
void |
setMinAdjustmentMagnitude(Number value)
`AWS::AutoScaling::ScalingPolicy.MinAdjustmentMagnitude`.
|
void |
setPolicyType(String value)
`AWS::AutoScaling::ScalingPolicy.PolicyType`.
|
void |
setScalingAdjustment(Number value)
`AWS::AutoScaling::ScalingPolicy.ScalingAdjustment`.
|
void |
setStepAdjustments(IResolvable value)
`AWS::AutoScaling::ScalingPolicy.StepAdjustments`.
|
void |
setStepAdjustments(List<Object> value)
`AWS::AutoScaling::ScalingPolicy.StepAdjustments`.
|
void |
setTargetTrackingConfiguration(CfnScalingPolicy.TargetTrackingConfigurationProperty value)
`AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration`.
|
void |
setTargetTrackingConfiguration(IResolvable value)
`AWS::AutoScaling::ScalingPolicy.TargetTrackingConfiguration`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnScalingPolicy(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnScalingPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnScalingPolicy(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnScalingPolicyProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getAutoScalingGroupName()
@Stability(value=Stable)
public void setAutoScalingGroupName(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getAdjustmentType()
@Stability(value=Stable)
public void setAdjustmentType(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getCooldown()
@Stability(value=Stable)
public void setCooldown(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getEstimatedInstanceWarmup()
@Stability(value=Stable)
public void setEstimatedInstanceWarmup(@Nullable
Number value)
@Stability(value=Stable) @Nullable public String getMetricAggregationType()
@Stability(value=Stable)
public void setMetricAggregationType(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getMinAdjustmentMagnitude()
@Stability(value=Stable)
public void setMinAdjustmentMagnitude(@Nullable
Number value)
@Stability(value=Stable) @Nullable public String getPolicyType()
@Stability(value=Stable)
public void setPolicyType(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getScalingAdjustment()
@Stability(value=Stable)
public void setScalingAdjustment(@Nullable
Number value)
@Stability(value=Stable) @Nullable public Object getStepAdjustments()
@Stability(value=Stable)
public void setStepAdjustments(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setStepAdjustments(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public Object getTargetTrackingConfiguration()
@Stability(value=Stable)
public void setTargetTrackingConfiguration(@Nullable
CfnScalingPolicy.TargetTrackingConfigurationProperty value)
@Stability(value=Stable)
public void setTargetTrackingConfiguration(@Nullable
IResolvable value)
Copyright © 2021. All rights reserved.