AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.Bedrock.Model.CustomModelUnits

Namespace: Amazon.Bedrock.Model
Assembly: AWSSDK.Bedrock.dll
Version: 3.x.y.z

Syntax

C#
public class CustomModelUnits

The CustomModelUnits type exposes the following members

Constructors

NameDescription
Public Method CustomModelUnits()

Properties

NameTypeDescription
Public Property CustomModelUnitsPerModelCopy System.Int32

Gets and sets the property CustomModelUnitsPerModelCopy.

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

Public Property CustomModelUnitsVersion System.String

Gets and sets the property CustomModelUnitsVersion.

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

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5