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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/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.



38160
38161
38162
38163
38164
38165
38166
38167
38168
38169
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 38160

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



38160
38161
38162
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 38160

def unknown
  @unknown
end