Class: Aws::SageMaker::Types::CapacitySize

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass CapacitySize data as a hash:

{
  type: "INSTANCE_COUNT", # required, accepts INSTANCE_COUNT, CAPACITY_PERCENT
  value: 1, # required
}

Specifies the endpoint capacity to activate for production.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#typeString

Specifies the endpoint capacity type.

  • INSTANCE_COUNT: The endpoint activates based on the number of instances.

  • CAPACITY_PERCENT: The endpoint activates based on the specified percentage of capacity.

Returns:

  • (String)


2985
2986
2987
2988
2989
2990
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2985

class CapacitySize < Struct.new(
  :type,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueInteger

Defines the capacity size, either as a number of instances or a capacity percentage.

Returns:

  • (Integer)


2985
2986
2987
2988
2989
2990
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 2985

class CapacitySize < Struct.new(
  :type,
  :value)
  SENSITIVE = []
  include Aws::Structure
end