Class PolicyTargetTrackingScalingPolicyConfigurationArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.appautoscaling.inputs.PolicyTargetTrackingScalingPolicyConfigurationArgs
-
public final class PolicyTargetTrackingScalingPolicyConfigurationArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PolicyTargetTrackingScalingPolicyConfigurationArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static PolicyTargetTrackingScalingPolicyConfigurationArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PolicyTargetTrackingScalingPolicyConfigurationArgs.Builder
builder()
static PolicyTargetTrackingScalingPolicyConfigurationArgs.Builder
builder(PolicyTargetTrackingScalingPolicyConfigurationArgs defaults)
java.util.Optional<com.pulumi.core.Output<PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs>>
customizedMetricSpecification()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
disableScaleIn()
java.util.Optional<com.pulumi.core.Output<PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs>>
predefinedMetricSpecification()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
scaleInCooldown()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
scaleOutCooldown()
com.pulumi.core.Output<java.lang.Double>
targetValue()
-
-
-
Field Detail
-
Empty
public static final PolicyTargetTrackingScalingPolicyConfigurationArgs Empty
-
-
Method Detail
-
customizedMetricSpecification
public java.util.Optional<com.pulumi.core.Output<PolicyTargetTrackingScalingPolicyConfigurationCustomizedMetricSpecificationArgs>> customizedMetricSpecification()
- Returns:
- Custom CloudWatch metric. Documentation can be found at: [AWS Customized Metric Specification](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CustomizedMetricSpecification.html). See supported fields below.
-
disableScaleIn
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> disableScaleIn()
- Returns:
- Whether scale in by the target tracking policy is disabled. If the value is true, scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. The default value is `false`.
-
predefinedMetricSpecification
public java.util.Optional<com.pulumi.core.Output<PolicyTargetTrackingScalingPolicyConfigurationPredefinedMetricSpecificationArgs>> predefinedMetricSpecification()
- Returns:
- Predefined metric. See supported fields below.
-
scaleInCooldown
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> scaleInCooldown()
- Returns:
- Amount of time, in seconds, after a scale in activity completes before another scale in activity can start.
-
scaleOutCooldown
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> scaleOutCooldown()
- Returns:
- Amount of time, in seconds, after a scale out activity completes before another scale out activity can start.
-
targetValue
public com.pulumi.core.Output<java.lang.Double> targetValue()
- Returns:
- Target value for the metric.
-
builder
public static PolicyTargetTrackingScalingPolicyConfigurationArgs.Builder builder()
-
builder
public static PolicyTargetTrackingScalingPolicyConfigurationArgs.Builder builder(PolicyTargetTrackingScalingPolicyConfigurationArgs defaults)
-
-