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

Class: Aws::AutoScalingPlans::Types::ScalingPlan

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb

Overview

Represents a scaling plan.

Instance Attribute Summary collapse

Instance Attribute Details

#application_sourceTypes::ApplicationSource

The application source.



538
539
540
541
542
543
544
545
546
547
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 538

class ScalingPlan < Struct.new(
  :scaling_plan_name,
  :scaling_plan_version,
  :application_source,
  :scaling_instructions,
  :status_code,
  :status_message,
  :creation_time)
  include Aws::Structure
end

#creation_timeTime

The Unix timestamp when the scaling plan was created.

Returns:

  • (Time)


538
539
540
541
542
543
544
545
546
547
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 538

class ScalingPlan < Struct.new(
  :scaling_plan_name,
  :scaling_plan_version,
  :application_source,
  :scaling_instructions,
  :status_code,
  :status_message,
  :creation_time)
  include Aws::Structure
end

#scaling_instructionsArray<Types::ScalingInstruction>

The scaling instructions.

Returns:



538
539
540
541
542
543
544
545
546
547
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 538

class ScalingPlan < Struct.new(
  :scaling_plan_name,
  :scaling_plan_version,
  :application_source,
  :scaling_instructions,
  :status_code,
  :status_message,
  :creation_time)
  include Aws::Structure
end

#scaling_plan_nameString

The name of the scaling plan.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 538

class ScalingPlan < Struct.new(
  :scaling_plan_name,
  :scaling_plan_version,
  :application_source,
  :scaling_instructions,
  :status_code,
  :status_message,
  :creation_time)
  include Aws::Structure
end

#scaling_plan_versionInteger

The version of the scaling plan.

Returns:

  • (Integer)


538
539
540
541
542
543
544
545
546
547
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 538

class ScalingPlan < Struct.new(
  :scaling_plan_name,
  :scaling_plan_version,
  :application_source,
  :scaling_instructions,
  :status_code,
  :status_message,
  :creation_time)
  include Aws::Structure
end

#status_codeString

The status of the scaling plan.

  • Active - The scaling plan is active.

  • ActiveWithProblems - The scaling plan is active, but the scaling configuration for one or more resources could not be applied.

  • CreationInProgress - The scaling plan is being created.

  • CreationFailed - The scaling plan could not be created.

  • DeletionInProgress - The scaling plan is being deleted.

  • DeletionFailed - The scaling plan could not be deleted.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 538

class ScalingPlan < Struct.new(
  :scaling_plan_name,
  :scaling_plan_version,
  :application_source,
  :scaling_instructions,
  :status_code,
  :status_message,
  :creation_time)
  include Aws::Structure
end

#status_messageString

A simple message about the current status of the scaling plan.

Returns:

  • (String)


538
539
540
541
542
543
544
545
546
547
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 538

class ScalingPlan < Struct.new(
  :scaling_plan_name,
  :scaling_plan_version,
  :application_source,
  :scaling_instructions,
  :status_code,
  :status_message,
  :creation_time)
  include Aws::Structure
end