Class ScalingPlanScalingInstructionArgs


  • public final class ScalingPlanScalingInstructionArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • customizedLoadMetricSpecification

        public java.util.Optional<com.pulumi.core.Output<ScalingPlanScalingInstructionCustomizedLoadMetricSpecificationArgs>> customizedLoadMetricSpecification()
        Returns:
        Customized load metric to use for predictive scaling. You must specify either `customized_load_metric_specification` or `predefined_load_metric_specification` when configuring predictive scaling. More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_CustomizedLoadMetricSpecification.html).
      • disableDynamicScaling

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> disableDynamicScaling()
        Returns:
        Boolean controlling whether dynamic scaling by AWS Auto Scaling is disabled. Defaults to `false`.
      • maxCapacity

        public com.pulumi.core.Output<java.lang.Integer> maxCapacity()
        Returns:
        Maximum capacity of the resource. The exception to this upper limit is if you specify a non-default setting for `predictive_scaling_max_capacity_behavior`.
      • minCapacity

        public com.pulumi.core.Output<java.lang.Integer> minCapacity()
        Returns:
        Minimum capacity of the resource.
      • predefinedLoadMetricSpecification

        public java.util.Optional<com.pulumi.core.Output<ScalingPlanScalingInstructionPredefinedLoadMetricSpecificationArgs>> predefinedLoadMetricSpecification()
        Returns:
        Predefined load metric to use for predictive scaling. You must specify either `predefined_load_metric_specification` or `customized_load_metric_specification` when configuring predictive scaling. More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_PredefinedLoadMetricSpecification.html).
      • predictiveScalingMaxCapacityBehavior

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> predictiveScalingMaxCapacityBehavior()
        Returns:
        Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity specified for the resource. Valid values: `SetForecastCapacityToMaxCapacity`, `SetMaxCapacityAboveForecastCapacity`, `SetMaxCapacityToForecastCapacity`.
      • predictiveScalingMaxCapacityBuffer

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> predictiveScalingMaxCapacityBuffer()
        Returns:
        Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity.
      • predictiveScalingMode

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> predictiveScalingMode()
        Returns:
        Predictive scaling mode. Valid values: `ForecastAndScale`, `ForecastOnly`.
      • resourceId

        public com.pulumi.core.Output<java.lang.String> resourceId()
        Returns:
        ID of the resource. This string consists of the resource type and unique identifier.
      • scalableDimension

        public com.pulumi.core.Output<java.lang.String> scalableDimension()
        Returns:
        Scalable dimension associated with the resource. Valid values: `autoscaling:autoScalingGroup:DesiredCapacity`, `dynamodb:index:ReadCapacityUnits`, `dynamodb:index:WriteCapacityUnits`, `dynamodb:table:ReadCapacityUnits`, `dynamodb:table:WriteCapacityUnits`, `ecs:service:DesiredCount`, `ec2:spot-fleet-request:TargetCapacity`, `rds:cluster:ReadReplicaCount`.
      • scalingPolicyUpdateBehavior

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> scalingPolicyUpdateBehavior()
        Returns:
        Controls whether a resource's externally created scaling policies are kept or replaced. Valid values: `KeepExternalPolicies`, `ReplaceExternalPolicies`. Defaults to `KeepExternalPolicies`.
      • scheduledActionBufferTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> scheduledActionBufferTime()
        Returns:
        Amount of time, in seconds, to buffer the run time of scheduled scaling actions when scaling out.
      • serviceNamespace

        public com.pulumi.core.Output<java.lang.String> serviceNamespace()
        Returns:
        Namespace of the AWS service. Valid values: `autoscaling`, `dynamodb`, `ecs`, `ec2`, `rds`.
      • targetTrackingConfigurations

        public com.pulumi.core.Output<java.util.List<ScalingPlanScalingInstructionTargetTrackingConfigurationArgs>> targetTrackingConfigurations()
        Returns:
        Structure that defines new target tracking configurations. Each of these structures includes a specific scaling metric and a target value for the metric, along with various parameters to use with dynamic scaling. More details can be found in the [AWS Auto Scaling API Reference](https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_TargetTrackingConfiguration.html).