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.



1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1114

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

#creation_timeTime

The Unix time stamp when the scaling plan was created.

Returns:

  • (Time)


1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1114

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

#scaling_instructionsArray<Types::ScalingInstruction>

The scaling instructions.

Returns:



1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1114

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

#scaling_plan_nameString

The name of the scaling plan.

Returns:

  • (String)


1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1114

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

#scaling_plan_versionInteger

The version number of the scaling plan.

Returns:

  • (Integer)


1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1114

class ScalingPlan < Struct.new(
  :scaling_plan_name,
  :scaling_plan_version,
  :application_source,
  :scaling_instructions,
  :status_code,
  :status_message,
  :status_start_time,
  :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.

  • UpdateInProgress - The scaling plan is being updated.

  • UpdateFailed - The scaling plan could not be updated.

Returns:

  • (String)


1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1114

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

#status_messageString

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

Returns:

  • (String)


1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1114

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

#status_start_timeTime

The Unix time stamp when the scaling plan entered the current status.

Returns:

  • (Time)


1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
# File 'gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/types.rb', line 1114

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