Class: Aws::SageMaker::Types::ProductionVariantServerlessConfig

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 ProductionVariantServerlessConfig data as a hash:

{
  memory_size_in_mb: 1, # required
  max_concurrency: 1, # required
}

Specifies the serverless configuration for an endpoint variant.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_concurrencyInteger

The maximum number of concurrent invocations your serverless endpoint can process.

Returns:

  • (Integer)


34040
34041
34042
34043
34044
34045
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 34040

class ProductionVariantServerlessConfig < Struct.new(
  :memory_size_in_mb,
  :max_concurrency)
  SENSITIVE = []
  include Aws::Structure
end

#memory_size_in_mbInteger

The memory size of your serverless endpoint. Valid values are in 1 GB increments: 1024 MB, 2048 MB, 3072 MB, 4096 MB, 5120 MB, or 6144 MB.

Returns:

  • (Integer)


34040
34041
34042
34043
34044
34045
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 34040

class ProductionVariantServerlessConfig < Struct.new(
  :memory_size_in_mb,
  :max_concurrency)
  SENSITIVE = []
  include Aws::Structure
end