autoscalingplans_describe_scaling_plan_resources: Describes the scalable resources in the specified scaling...

Description Usage Arguments Value Request syntax

View source: R/autoscalingplans_operations.R

Description

Describes the scalable resources in the specified scaling plan.

Usage

1
2
autoscalingplans_describe_scaling_plan_resources(ScalingPlanName,
  ScalingPlanVersion, MaxResults, NextToken)

Arguments

ScalingPlanName

[required] The name of the scaling plan.

ScalingPlanVersion

[required] The version number of the scaling plan. Currently, the only valid value is 1.

MaxResults

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

NextToken

The token for the next set of results.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
list(
  ScalingPlanResources = list(
    list(
      ScalingPlanName = "string",
      ScalingPlanVersion = 123,
      ServiceNamespace = "autoscaling"|"ecs"|"ec2"|"rds"|"dynamodb",
      ResourceId = "string",
      ScalableDimension = "autoscaling:autoScalingGroup:DesiredCapacity"|"ecs:service:DesiredCount"|"ec2:spot-fleet-request:TargetCapacity"|"rds:cluster:ReadReplicaCount"|"dynamodb:table:ReadCapacityUnits"|"dynamodb:table:WriteCapacityUnits"|"dynamodb:index:ReadCapacityUnits"|"dynamodb:index:WriteCapacityUnits",
      ScalingPolicies = list(
        list(
          PolicyName = "string",
          PolicyType = "TargetTrackingScaling",
          TargetTrackingConfiguration = list(
            PredefinedScalingMetricSpecification = list(
              PredefinedScalingMetricType = "ASGAverageCPUUtilization"|"ASGAverageNetworkIn"|"ASGAverageNetworkOut"|"DynamoDBReadCapacityUtilization"|"DynamoDBWriteCapacityUtilization"|"ECSServiceAverageCPUUtilization"|"ECSServiceAverageMemoryUtilization"|"ALBRequestCountPerTarget"|"RDSReaderAverageCPUUtilization"|"RDSReaderAverageDatabaseConnections"|"EC2SpotFleetRequestAverageCPUUtilization"|"EC2SpotFleetRequestAverageNetworkIn"|"EC2SpotFleetRequestAverageNetworkOut",
              ResourceLabel = "string"
            ),
            CustomizedScalingMetricSpecification = list(
              MetricName = "string",
              Namespace = "string",
              Dimensions = list(
                list(
                  Name = "string",
                  Value = "string"
                )
              ),
              Statistic = "Average"|"Minimum"|"Maximum"|"SampleCount"|"Sum",
              Unit = "string"
            ),
            TargetValue = 123.0,
            DisableScaleIn = TRUE|FALSE,
            ScaleOutCooldown = 123,
            ScaleInCooldown = 123,
            EstimatedInstanceWarmup = 123
          )
        )
      ),
      ScalingStatusCode = "Inactive"|"PartiallyActive"|"Active",
      ScalingStatusMessage = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

1
2
3
4
5
6
svc$describe_scaling_plan_resources(
  ScalingPlanName = "string",
  ScalingPlanVersion = 123,
  MaxResults = 123,
  NextToken = "string"
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.