@datafire/amazonaws_autoscaling_plans

5.0.0 • Public • Published

@datafire/amazonaws_autoscaling_plans

Client library for AWS Auto Scaling Plans

Installation and Usage

npm install --save @datafire/amazonaws_autoscaling_plans
let amazonaws_autoscaling_plans = require('@datafire/amazonaws_autoscaling_plans').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

amazonaws_autoscaling_plans.CreateScalingPlan({
  "ScalingPlanName": "",
  "ApplicationSource": {},
  "ScalingInstructions": []
}).then(data => {
  console.log(data);
});

Description

Use AWS Auto Scaling to quickly discover all the scalable AWS resources for your application and configure dynamic scaling for your scalable resources.

To get started, create a scaling plan with a set of instructions used to configure dynamic scaling for the scalable resources in your application. AWS Auto Scaling creates target tracking scaling policies for the scalable resources in your scaling plan. Target tracking scaling policies adjust the capacity of your scalable resource as required to maintain resource utilization at the target value that you specified.

Actions

CreateScalingPlan

amazonaws_autoscaling_plans.CreateScalingPlan({
  "ScalingPlanName": "",
  "ApplicationSource": {},
  "ScalingInstructions": []
}, context)

Input

Output

DeleteScalingPlan

amazonaws_autoscaling_plans.DeleteScalingPlan({
  "ScalingPlanName": "",
  "ScalingPlanVersion": 0
}, context)

Input

Output

DescribeScalingPlanResources

amazonaws_autoscaling_plans.DescribeScalingPlanResources({
  "ScalingPlanName": "",
  "ScalingPlanVersion": 0
}, context)

Input

Output

DescribeScalingPlans

amazonaws_autoscaling_plans.DescribeScalingPlans({}, context)

Input

Output

Definitions

ApplicationSource

  • ApplicationSource object: Represents an application source.

ApplicationSources

ConcurrentUpdateException

  • ConcurrentUpdateException object: Concurrent updates caused an exception, for example, if you request an update to a scaling plan that already has a pending update.

Cooldown

  • Cooldown integer

CreateScalingPlanRequest

CreateScalingPlanResponse

CustomizedScalingMetricSpecification

DeleteScalingPlanRequest

DeleteScalingPlanResponse

  • DeleteScalingPlanResponse object

DescribeScalingPlanResourcesRequest

DescribeScalingPlanResourcesResponse

DescribeScalingPlansRequest

DescribeScalingPlansResponse

DisableScaleIn

  • DisableScaleIn boolean

ErrorMessage

  • ErrorMessage string

InternalServiceException

  • InternalServiceException object: The service encountered an internal error.

InvalidNextTokenException

  • InvalidNextTokenException object: The token provided is not valid.

LimitExceededException

  • LimitExceededException object: Your account exceeded a limit. This exception is thrown when a per-account resource limit is exceeded.

MaxResults

  • MaxResults integer

MetricDimension

MetricDimensionName

  • MetricDimensionName string

MetricDimensionValue

  • MetricDimensionValue string

MetricDimensions

MetricName

  • MetricName string

MetricNamespace

  • MetricNamespace string

MetricScale

  • MetricScale number

MetricStatistic

  • MetricStatistic string (values: Average, Minimum, Maximum, SampleCount, Sum)

MetricUnit

  • MetricUnit string

NextToken

  • NextToken string

ObjectNotFoundException

  • ObjectNotFoundException object: The specified object could not be found.

PolicyName

  • PolicyName string

PolicyType

  • PolicyType string (values: TargetTrackingScaling)

PredefinedScalingMetricSpecification

  • PredefinedScalingMetricSpecification object: Represents a predefined metric for a target tracking policy.

ResourceCapacity

  • ResourceCapacity integer

ResourceIdMaxLen1600

  • ResourceIdMaxLen1600 string

ResourceLabel

  • ResourceLabel string

ScalableDimension

  • ScalableDimension string (values: 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)

ScalingInstruction

ScalingInstructions

ScalingMetricType

  • ScalingMetricType string (values: ASGAverageCPUUtilization, ASGAverageNetworkIn, ASGAverageNetworkOut, DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut)

ScalingPlan

ScalingPlanName

  • ScalingPlanName string

ScalingPlanNames

ScalingPlanResource

ScalingPlanResources

ScalingPlanStatusCode

  • ScalingPlanStatusCode string (values: Active, ActiveWithProblems, CreationInProgress, CreationFailed, DeletionInProgress, DeletionFailed)

ScalingPlanVersion

  • ScalingPlanVersion integer

ScalingPlans

ScalingPolicies

ScalingPolicy

ScalingStatusCode

  • ScalingStatusCode string (values: Inactive, PartiallyActive, Active)

ServiceNamespace

  • ServiceNamespace string (values: autoscaling, ecs, ec2, rds, dynamodb)

TargetTrackingConfiguration

TargetTrackingConfigurations

TimestampType

  • TimestampType string

ValidationException

  • ValidationException object: An exception was thrown for a validation issue. Review the parameters provided.

XmlString

  • XmlString string

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/amazonaws_autoscaling_plans

Weekly Downloads

0

Version

5.0.0

License

MIT

Unpacked Size

55.5 kB

Total Files

4

Last publish

Collaborators

  • datafire