Use DescribeAdjustmentTypes with a CLI - AWS SDK Code Examples

There are more AWS SDK examples available in the AWS Doc SDK Examples GitHub repo.

Use DescribeAdjustmentTypes with a CLI

The following code examples show how to use DescribeAdjustmentTypes.

CLI
AWS CLI

To describe the available scaling adjustment types

This example describes the available adjustment types.

aws autoscaling describe-adjustment-types

Output:

{ "AdjustmentTypes": [ { "AdjustmentType": "ChangeInCapacity" }, { "AdjustmentType": "ExactCapacity" }, { "AdjustmentType": "PercentChangeInCapacity" } ] }

For more information, see Scaling adjustment types in the Amazon EC2 Auto Scaling User Guide.

PowerShell
Tools for PowerShell

Example 1: This example describes the adjustment types that are supported by Auto Scaling.

Get-ASAdjustmentType

Output:

Type ---- ChangeInCapacity ExactCapacity PercentChangeInCapacity