@Generated(value="jsii-pacmak/1.14.1 (build 828de8a)", date="2020-11-24T22:28:07.351Z") @Stability(value=Stable) public class CfnScalingPolicy extends CfnResource implements IInspectable
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html| 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$ProxyIConstruct.Jsii$Default| 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(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)
(experimental) 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, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, 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
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=Experimental)
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()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-autoscalinggroupname@Stability(value=Stable)
public void setAutoScalingGroupName(@NotNull
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-autoscalinggroupname@Stability(value=Stable) @Nullable public String getAdjustmentType()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-adjustmenttype@Stability(value=Stable)
public void setAdjustmentType(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-adjustmenttype@Stability(value=Stable) @Nullable public String getCooldown()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-cooldown@Stability(value=Stable)
public void setCooldown(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-cooldown@Stability(value=Stable) @Nullable public Number getEstimatedInstanceWarmup()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-estimatedinstancewarmup@Stability(value=Stable)
public void setEstimatedInstanceWarmup(@Nullable
Number value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-estimatedinstancewarmup@Stability(value=Stable) @Nullable public String getMetricAggregationType()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-metricaggregationtype@Stability(value=Stable)
public void setMetricAggregationType(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-metricaggregationtype@Stability(value=Stable) @Nullable public Number getMinAdjustmentMagnitude()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-minadjustmentmagnitude@Stability(value=Stable)
public void setMinAdjustmentMagnitude(@Nullable
Number value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-minadjustmentmagnitude@Stability(value=Stable) @Nullable public String getPolicyType()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-policytype@Stability(value=Stable)
public void setPolicyType(@Nullable
String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-policytype@Stability(value=Stable) @Nullable public Number getScalingAdjustment()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-scalingadjustment@Stability(value=Stable)
public void setScalingAdjustment(@Nullable
Number value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-scalingadjustment@Stability(value=Stable) @Nullable public Object getStepAdjustments()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-stepadjustments@Stability(value=Stable)
public void setStepAdjustments(@Nullable
IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-stepadjustments@Stability(value=Stable)
public void setStepAdjustments(@Nullable
List<Object> value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-as-scalingpolicy-stepadjustments@Stability(value=Stable) @Nullable public Object getTargetTrackingConfiguration()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-autoscaling-scalingpolicy-targettrackingconfiguration@Stability(value=Stable)
public void setTargetTrackingConfiguration(@Nullable
CfnScalingPolicy.TargetTrackingConfigurationProperty value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-autoscaling-scalingpolicy-targettrackingconfiguration@Stability(value=Stable)
public void setTargetTrackingConfiguration(@Nullable
IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html#cfn-autoscaling-scalingpolicy-targettrackingconfigurationCopyright © 2020. All rights reserved.