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

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

Overview

Represents a scaling plan.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#application_sourceTypes::ApplicationSource

A CloudFormation stack or a set of tags. You can create one scaling plan per application source.



924
925
926
927
928
929
930
931
932
933
934
935
# File 'lib/aws-sdk-autoscalingplans/types.rb', line 924

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

#creation_timeTime

The Unix time stamp when the scaling plan was created.

Returns:

  • (Time)


924
925
926
927
928
929
930
931
932
933
934
935
# File 'lib/aws-sdk-autoscalingplans/types.rb', line 924

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

#scaling_instructionsArray<Types::ScalingInstruction>

The scaling instructions.

Returns:



924
925
926
927
928
929
930
931
932
933
934
935
# File 'lib/aws-sdk-autoscalingplans/types.rb', line 924

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

#scaling_plan_nameString

The name of the scaling plan.

Returns:

  • (String)


924
925
926
927
928
929
930
931
932
933
934
935
# File 'lib/aws-sdk-autoscalingplans/types.rb', line 924

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

#scaling_plan_versionInteger

The version number of the scaling plan.

Returns:

  • (Integer)


924
925
926
927
928
929
930
931
932
933
934
935
# File 'lib/aws-sdk-autoscalingplans/types.rb', line 924

class ScalingPlan < Struct.new(
  :scaling_plan_name,
  :scaling_plan_version,
  :application_source,
  :scaling_instructions,
  :status_code,
  :status_message,
  :status_start_time,
  :creation_time)
  SENSITIVE = []
  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)


924
925
926
927
928
929
930
931
932
933
934
935
# File 'lib/aws-sdk-autoscalingplans/types.rb', line 924

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

#status_messageString

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

Returns:

  • (String)


924
925
926
927
928
929
930
931
932
933
934
935
# File 'lib/aws-sdk-autoscalingplans/types.rb', line 924

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

#status_start_timeTime

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

Returns:

  • (Time)


924
925
926
927
928
929
930
931
932
933
934
935
# File 'lib/aws-sdk-autoscalingplans/types.rb', line 924

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