ScalableTargetArgs

data class ScalableTargetArgs(val maxCapacity: Output<Int>? = null, val minCapacity: Output<Int>? = null, val resourceId: Output<String>? = null, val roleArn: Output<String>? = null, val scalableDimension: Output<String>? = null, val scheduledActions: Output<List<ScalableTargetScheduledActionArgs>>? = null, val serviceNamespace: Output<String>? = null, val suspendedState: Output<ScalableTargetSuspendedStateArgs>? = null) : ConvertibleToJava<ScalableTargetArgs>

Resource Type definition for AWS::ApplicationAutoScaling::ScalableTarget

Constructors

Link copied to clipboard
fun ScalableTargetArgs(maxCapacity: Output<Int>? = null, minCapacity: Output<Int>? = null, resourceId: Output<String>? = null, roleArn: Output<String>? = null, scalableDimension: Output<String>? = null, scheduledActions: Output<List<ScalableTargetScheduledActionArgs>>? = null, serviceNamespace: Output<String>? = null, suspendedState: Output<ScalableTargetSuspendedStateArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ScalableTargetArgs

Properties

Link copied to clipboard
val maxCapacity: Output<Int>? = null

The maximum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand

Link copied to clipboard
val minCapacity: Output<Int>? = null

The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand

Link copied to clipboard
val resourceId: Output<String>? = null

The identifier of the resource associated with the scalable target

Link copied to clipboard
val roleArn: Output<String>? = null

Specify the Amazon Resource Name (ARN) of an Identity and Access Management (IAM) role that allows Application Auto Scaling to modify the scalable target on your behalf.

Link copied to clipboard
val scalableDimension: Output<String>? = null

The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property

Link copied to clipboard

The scheduled actions for the scalable target. Duplicates aren't allowed.

Link copied to clipboard
val serviceNamespace: Output<String>? = null

The namespace of the AWS service that provides the resource, or a custom-resource

Link copied to clipboard

An embedded object that contains attributes and attribute values that are used to suspend and resume automatic scaling. Setting the value of an attribute to true suspends the specified scaling activities. Setting it to false (default) resumes the specified scaling activities.