@Stability(value=Stable) public static final class CfnInstanceGroupConfig.AutoScalingPolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnInstanceGroupConfig.AutoScalingPolicyProperty>
CfnInstanceGroupConfig.AutoScalingPolicyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnInstanceGroupConfig.AutoScalingPolicyProperty |
build()
Builds the configured instance.
|
CfnInstanceGroupConfig.AutoScalingPolicyProperty.Builder |
constraints(CfnInstanceGroupConfig.ScalingConstraintsProperty constraints)
Sets the value of
CfnInstanceGroupConfig.AutoScalingPolicyProperty.getConstraints() |
CfnInstanceGroupConfig.AutoScalingPolicyProperty.Builder |
constraints(IResolvable constraints)
Sets the value of
CfnInstanceGroupConfig.AutoScalingPolicyProperty.getConstraints() |
CfnInstanceGroupConfig.AutoScalingPolicyProperty.Builder |
rules(IResolvable rules)
Sets the value of
CfnInstanceGroupConfig.AutoScalingPolicyProperty.getRules() |
CfnInstanceGroupConfig.AutoScalingPolicyProperty.Builder |
rules(List<? extends Object> rules)
Sets the value of
CfnInstanceGroupConfig.AutoScalingPolicyProperty.getRules() |
@Stability(value=Stable) public CfnInstanceGroupConfig.AutoScalingPolicyProperty.Builder constraints(CfnInstanceGroupConfig.ScalingConstraintsProperty constraints)
CfnInstanceGroupConfig.AutoScalingPolicyProperty.getConstraints()constraints - The upper and lower EC2 instance limits for an automatic scaling policy. This parameter is required.
Automatic scaling activity will not cause an instance group to grow above or below these limits.this@Stability(value=Stable) public CfnInstanceGroupConfig.AutoScalingPolicyProperty.Builder constraints(IResolvable constraints)
CfnInstanceGroupConfig.AutoScalingPolicyProperty.getConstraints()constraints - The upper and lower EC2 instance limits for an automatic scaling policy. This parameter is required.
Automatic scaling activity will not cause an instance group to grow above or below these limits.this@Stability(value=Stable) public CfnInstanceGroupConfig.AutoScalingPolicyProperty.Builder rules(IResolvable rules)
CfnInstanceGroupConfig.AutoScalingPolicyProperty.getRules()rules - The scale-in and scale-out rules that comprise the automatic scaling policy. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig.AutoScalingPolicyProperty.Builder rules(List<? extends Object> rules)
CfnInstanceGroupConfig.AutoScalingPolicyProperty.getRules()rules - The scale-in and scale-out rules that comprise the automatic scaling policy. This parameter is required.this@Stability(value=Stable) public CfnInstanceGroupConfig.AutoScalingPolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnInstanceGroupConfig.AutoScalingPolicyProperty>CfnInstanceGroupConfig.AutoScalingPolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.