AWS Application Auto Scaling Target

This page shows how to write Terraform and CloudFormation for Application Auto Scaling Target and write them securely.

aws_appautoscaling_target (Terraform)

The Target in Application Auto Scaling can be configured in Terraform with the resource name aws_appautoscaling_target. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Review your Terraform file for AWS best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Provides an Application AutoScaling ScalableTarget resource. To manage policies which get attached to the target, see the aws_appautoscaling_policy resource.

NOTE: The Application Auto Scaling service automatically attempts to manage IAM Service-Linked Roles when registering certain service namespaces for the first time. To manually manage this role, see the aws_iam_service_linked_role resource.

AWS::ApplicationAutoScaling::ScalableTarget (CloudFormation)

The ScalableTarget in ApplicationAutoScaling can be configured in CloudFormation with the resource name AWS::ApplicationAutoScaling::ScalableTarget. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

Explanation in CloudFormation Registry

The AWS::ApplicationAutoScaling::ScalableTarget resource specifies a resource that Application Auto Scaling can scale, such as an AWS::DynamoDB::Table or AWS::ECS::Service resource.

Note If the resource that you want Application Auto Scaling to scale is not yet created in your account, add a dependency on the resource when registering it as a scalable target using the DependsOn attribute. For more information, see RegisterScalableTarget in the Application Auto Scaling API Reference.

Frequently asked questions

What is AWS Application Auto Scaling Target?

AWS Application Auto Scaling Target is a resource for Application Auto Scaling of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.