Package-level declarations

Types

Link copied to clipboard
data class GetScalableTargetResult(val id: String? = null, val maxCapacity: Int? = null, val minCapacity: Int? = null, val scheduledActions: List<ScalableTargetScheduledAction>? = null, val suspendedState: ScalableTargetSuspendedState? = null)
Link copied to clipboard
data class GetScalingPolicyResult(val arn: String? = null, val policyType: String? = null, val stepScalingPolicyConfiguration: ScalingPolicyStepScalingPolicyConfiguration? = null, val targetTrackingScalingPolicyConfiguration: ScalingPolicyTargetTrackingScalingPolicyConfiguration? = null)
Link copied to clipboard
data class ScalableTargetAction(val maxCapacity: Int? = null, val minCapacity: Int? = null)

`ScalableTargetAction` specifies the minimum and maximum capacity for the `ScalableTargetAction` property of the AWS::ApplicationAutoScaling::ScalableTarget ScheduledAction property type.

Link copied to clipboard
data class ScalableTargetScheduledAction(val endTime: String? = null, val scalableTargetAction: ScalableTargetAction? = null, val schedule: String, val scheduledActionName: String, val startTime: String? = null, val timezone: String? = null)

`ScheduledAction` is a property of the AWS::ApplicationAutoScaling::ScalableTarget resource that specifies a scheduled action for a scalable target. For more information, see Scheduled scaling in the Application Auto Scaling User Guide.

Link copied to clipboard
data class ScalableTargetSuspendedState(val dynamicScalingInSuspended: Boolean? = null, val dynamicScalingOutSuspended: Boolean? = null, val scheduledScalingSuspended: Boolean? = null)

`SuspendedState` is a property of the AWS::ApplicationAutoScaling::ScalableTarget resource that specifies whether the scaling activities for a scalable target are in a suspended state. For more information, see Suspending and resuming scaling in the Application Auto Scaling User Guide.

data class ScalingPolicyCustomizedMetricSpecification(val dimensions: List<ScalingPolicyMetricDimension>? = null, val metricName: String? = null, val metrics: List<ScalingPolicyTargetTrackingMetricDataQuery>? = null, val namespace: String? = null, val statistic: String? = null, val unit: String? = null)

Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use with Application Auto Scaling.

Link copied to clipboard
data class ScalingPolicyMetricDimension(val name: String, val value: String)

Describes the dimension names and values associated with a metric.

data class ScalingPolicyPredefinedMetricSpecification(val predefinedMetricType: String, val resourceLabel: String? = null)

Represents a predefined metric for a target tracking scaling policy to use with Application Auto Scaling.

Link copied to clipboard
data class ScalingPolicyStepAdjustment(val metricIntervalLowerBound: Double? = null, val metricIntervalUpperBound: Double? = null, val scalingAdjustment: Int)

Represents a step adjustment for a StepScalingPolicyConfiguration. Describes an adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you've defined for the alarm.

data class ScalingPolicyStepScalingPolicyConfiguration(val adjustmentType: String? = null, val cooldown: Int? = null, val metricAggregationType: String? = null, val minAdjustmentMagnitude: Int? = null, val stepAdjustments: List<ScalingPolicyStepAdjustment>? = null)

A step scaling policy.

Link copied to clipboard
data class ScalingPolicyTargetTrackingMetric(val dimensions: List<ScalingPolicyTargetTrackingMetricDimension>? = null, val metricName: String? = null, val namespace: String? = null)

Represents a specific metric.

data class ScalingPolicyTargetTrackingMetricDataQuery(val expression: String? = null, val id: String? = null, val label: String? = null, val metricStat: ScalingPolicyTargetTrackingMetricStat? = null, val returnData: Boolean? = null)

The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.

data class ScalingPolicyTargetTrackingMetricDimension(val name: String? = null, val value: String? = null)

Describes the dimension of a metric.

Link copied to clipboard
data class ScalingPolicyTargetTrackingMetricStat(val metric: ScalingPolicyTargetTrackingMetric? = null, val stat: String? = null, val unit: String? = null)

This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.

data class ScalingPolicyTargetTrackingScalingPolicyConfiguration(val customizedMetricSpecification: ScalingPolicyCustomizedMetricSpecification? = null, val disableScaleIn: Boolean? = null, val predefinedMetricSpecification: ScalingPolicyPredefinedMetricSpecification? = null, val scaleInCooldown: Int? = null, val scaleOutCooldown: Int? = null, val targetValue: Double)

A target tracking scaling policy.