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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


3768
3769
3770
3771
3772
3773
# File 'lib/aws-sdk-bedrock/types.rb', line 3768

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)


3768
3769
3770
3771
3772
3773
# File 'lib/aws-sdk-bedrock/types.rb', line 3768

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