You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::AutoScalingPlans::Types::DescribeScalingPlansRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DescribeScalingPlansRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  scaling_plan_names: ["ScalingPlanName"],
  scaling_plan_version: 1,
  application_sources: [
    {
      cloud_formation_stack_arn: "XmlString",
      tag_filters: [
        {
          key: "XmlStringMaxLen128",
          values: ["XmlStringMaxLen256"],
        },
      ],
    },
  ],
  max_results: 1,
  next_token: "NextToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#application_sourcesArray<Types::ApplicationSource>

The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources.

Returns:

#max_resultsInteger

The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50.

Returns:

  • (Integer)

    The maximum number of scalable resources to return.

#next_tokenString

The token for the next set of results.

Returns:

  • (String)

    The token for the next set of results.

#scaling_plan_namesArray<String>

The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names.

Returns:

  • (Array<String>)

    The names of the scaling plans (up to 10).

#scaling_plan_versionInteger

The version number of the scaling plan. If you specify a scaling plan version, you must also specify a scaling plan name.

Returns:

  • (Integer)

    The version number of the scaling plan.