There are more AWS SDK examples available in the AWS Doc SDK Examples
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.
-
For API details, see DescribeAdjustmentTypes
in AWS CLI Command Reference.
-
- 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
-
For API details, see DescribeAdjustmentTypes in AWS Tools for PowerShell Cmdlet Reference.
-