Class: Aws::SageMaker::Types::ScalingPolicy

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure, Aws::Structure::Union
Defined in:
lib/aws-sdk-sagemaker/types.rb

Overview

Note:

ScalingPolicy is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ScalingPolicy corresponding to the set member.

An object containing a recommended scaling policy.

Direct Known Subclasses

TargetTracking, Unknown

Defined Under Namespace

Classes: TargetTracking, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#target_trackingTypes::TargetTrackingScalingPolicyConfiguration

A target tracking scaling policy. Includes support for predefined or customized metrics.



36031
36032
36033
36034
36035
36036
36037
36038
36039
36040
# File 'lib/aws-sdk-sagemaker/types.rb', line 36031

class ScalingPolicy < Struct.new(
  :target_tracking,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class TargetTracking < ScalingPolicy; end
  class Unknown < ScalingPolicy; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



36031
36032
36033
# File 'lib/aws-sdk-sagemaker/types.rb', line 36031

def unknown
  @unknown
end