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.



40125
40126
40127
40128
40129
40130
40131
40132
40133
40134
# File 'lib/aws-sdk-sagemaker/types.rb', line 40125

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



40125
40126
40127
# File 'lib/aws-sdk-sagemaker/types.rb', line 40125

def unknown
  @unknown
end