ScalingPolicy

class ScalingPolicy : KotlinCustomResource

The `AWS::ApplicationAutoScaling::ScalingPolicy` resource defines a scaling policy that Application Auto Scaling uses to adjust the capacity of a scalable target. For more information, see Target tracking scaling policies and Step scaling policies in the Application Auto Scaling User Guide.

Properties

Link copied to clipboard
val arn: Output<String>

Returns the ARN of a scaling policy.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val policyName: Output<String>

The name of the scaling policy. Updates to the name of a target tracking scaling policy are not supported, unless you also update the metric used for scaling. To change only a target tracking scaling policy's name, first delete the policy by removing the existing `AWS::ApplicationAutoScaling::ScalingPolicy` resource from the template and updating the stack. Then, recreate the resource with the same settings and a different name.

Link copied to clipboard
val policyType: Output<String>

The scaling policy type. The following policy types are supported: `TargetTrackingScaling`—Not supported for Amazon EMR `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda, Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.

Link copied to clipboard

The predictive scaling policy configuration.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceId: Output<String>?

The identifier of the resource associated with the scaling policy. This string consists of the resource type and unique identifier.

Link copied to clipboard

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

Link copied to clipboard
val scalingTargetId: Output<String>?

The CloudFormation-generated ID of an Application Auto Scaling scalable target. For more information about the ID, see the Return Value section of the `AWS::ApplicationAutoScaling::ScalableTarget` resource. You must specify either the `ScalingTargetId` property, or the `ResourceId`, `ScalableDimension`, and `ServiceNamespace` properties, but not both.

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

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

Link copied to clipboard
val urn: Output<String>