404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.145.88.233: ~ $
**To describe a scaling plan**

The following ``describe-scaling-plans`` example displays the details of the specified scaling plan. ::

    aws autoscaling-plans describe-scaling-plans \
        --scaling-plan-names scaling-plan-with-asg-and-ddb

Output::

    {
        "ScalingPlans": [
            {
                "LastMutatingRequestTime": 1565388443.963,
                "ScalingPlanVersion": 1,
                "CreationTime": 1565388443.963,
                "ScalingInstructions": [
                    {
                        "ScalingPolicyUpdateBehavior": "ReplaceExternalPolicies",
                        "ScalableDimension": "autoscaling:autoScalingGroup:DesiredCapacity",
                        "TargetTrackingConfigurations": [
                            {
                                "PredefinedScalingMetricSpecification": {
                                    "PredefinedScalingMetricType": "ASGAverageCPUUtilization"
                                },
                                "TargetValue": 50.0,
                                "EstimatedInstanceWarmup": 300,
                                "DisableScaleIn": false
                            }
                        ],
                        "ResourceId": "autoScalingGroup/my-asg",
                        "DisableDynamicScaling": false,
                        "MinCapacity": 1,
                        "ServiceNamespace": "autoscaling",
                        "MaxCapacity": 10
                    },
                    {
                        "ScalingPolicyUpdateBehavior": "ReplaceExternalPolicies",
                        "ScalableDimension": "dynamodb:table:ReadCapacityUnits",
                        "TargetTrackingConfigurations": [
                            {
                                "PredefinedScalingMetricSpecification": {
                                    "PredefinedScalingMetricType": "DynamoDBReadCapacityUtilization"
                                },
                                "TargetValue": 50.0,
                                "ScaleInCooldown": 60,
                                "DisableScaleIn": false,
                                "ScaleOutCooldown": 60
                            }
                        ],
                        "ResourceId": "table/my-table",
                        "DisableDynamicScaling": false,
                        "MinCapacity": 5,
                        "ServiceNamespace": "dynamodb",
                        "MaxCapacity": 10000
                    },
                    {
                        "ScalingPolicyUpdateBehavior": "ReplaceExternalPolicies",
                        "ScalableDimension": "dynamodb:table:WriteCapacityUnits",
                        "TargetTrackingConfigurations": [
                            {
                                "PredefinedScalingMetricSpecification": {
                                    "PredefinedScalingMetricType": "DynamoDBWriteCapacityUtilization"
                                },
                                "TargetValue": 50.0,
                                "ScaleInCooldown": 60,
                                "DisableScaleIn": false,
                                "ScaleOutCooldown": 60
                            }
                        ],
                        "ResourceId": "table/my-table",
                        "DisableDynamicScaling": false,
                        "MinCapacity": 5,
                        "ServiceNamespace": "dynamodb",
                        "MaxCapacity": 10000
                    }
                ],
                "ApplicationSource": {
                    "TagFilters": [
                        {
                            "Values": [
                                "my-application-id"
                            ],
                            "Key": "application"
                        }
                    ]
                },
                "StatusStartTime": 1565388455.836,
                "ScalingPlanName": "scaling-plan-with-asg-and-ddb",
                "StatusMessage": "Scaling plan has been created and applied to all resources.",
                "StatusCode": "Active"
            }
        ]
    }

For more information, see `What Is AWS Auto Scaling? <https://docs.aws.amazon.com/autoscaling/plans/userguide/what-is-aws-auto-scaling.html>`__ in the *AWS Auto Scaling User Guide*.

Filemanager

Name Type Size Permission Actions
create-scaling-plan.rst File 2.1 KB 0644
delete-scaling-plan.rst File 429 B 0644
describe-scaling-plan-resources.rst File 1.78 KB 0644
describe-scaling-plans.rst File 4.3 KB 0644
get-scaling-plan-resource-forecast-data.rst File 869 B 0644
update-scaling-plan.rst File 964 B 0644