AWS code-library documentation change
Summary
Added PowerShell V5 example for DescribeScalableTargets operation
Security assessment
Example relates to scaling operations, not security features or vulnerabilities.
Diff
diff --git a/code-library/latest/ug/application-auto-scaling_example_application-auto-scaling_DescribeScalableTargets_section.md b/code-library/latest/ug/application-auto-scaling_example_application-auto-scaling_DescribeScalableTargets_section.md index a7cbfd8c5..8bd186432 100644 --- a//code-library/latest/ug/application-auto-scaling_example_application-auto-scaling_DescribeScalableTargets_section.md +++ b//code-library/latest/ug/application-auto-scaling_example_application-auto-scaling_DescribeScalableTargets_section.md @@ -84,0 +85,26 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example will provide information about the Application Autoscaling Scalable targets in the specified namespace.** + + + Get-AASScalableTarget -ServiceNamespace "AppStream" + + +**Output:** + + + CreationTime : 11/7/2019 2:30:03 AM + MaxCapacity : 5 + MinCapacity : 1 + ResourceId : fleet/Test + RoleARN : arn:aws:iam::012345678912:role/aws-service-role/appstream.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_AppStreamFleet + ScalableDimension : appstream:fleet:DesiredCapacity + ServiceNamespace : appstream + SuspendedState : Amazon.ApplicationAutoScaling.Model.SuspendedState + + * For API details, see [DescribeScalableTargets](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +