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.



40290
40291
40292
40293
40294
40295
40296
40297
40298
40299
# File 'lib/aws-sdk-sagemaker/types.rb', line 40290

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



40290
40291
40292
# File 'lib/aws-sdk-sagemaker/types.rb', line 40290

def unknown
  @unknown
end