Class: Aws::Bedrock::Types::CustomModelUnits

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

Overview

A CustomModelUnit (CMU) is an abstract view of the hardware utilization that Amazon Bedrock needs to host a single copy of your custom model. A model copy represents a single instance of your imported model that is ready to serve inference requests. Amazon Bedrock determines the number of custom model units that a model copy needs when you import the custom model.

You can use CustomModelUnits to estimate the cost of running your custom model. For more information, see Calculate the cost of running a custom model in the Amazon Bedrock user guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#custom_model_units_per_model_copyInteger

The number of custom model units used to host a model copy.

Returns:

  • (Integer)


1444
1445
1446
1447
1448
1449
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1444

class CustomModelUnits < Struct.new(
  :custom_model_units_per_model_copy,
  :custom_model_units_version)
  SENSITIVE = []
  include Aws::Structure
end

#custom_model_units_versionString

The version of the custom model unit. Use to determine the billing rate for the custom model unit.

Returns:

  • (String)


1444
1445
1446
1447
1448
1449
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1444

class CustomModelUnits < Struct.new(
  :custom_model_units_per_model_copy,
  :custom_model_units_version)
  SENSITIVE = []
  include Aws::Structure
end