interface CapacitySizeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnEndpoint.CapacitySizeProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnEndpoint.CapacitySizeProperty |
Python | aws_cdk.aws_sagemaker.CfnEndpoint.CapacitySizeProperty |
TypeScript | @aws-cdk/aws-sagemaker » CfnEndpoint » CapacitySizeProperty |
Specifies the endpoint capacity to activate for production.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sagemaker from '@aws-cdk/aws-sagemaker';
const capacitySizeProperty: sagemaker.CfnEndpoint.CapacitySizeProperty = {
type: 'type',
value: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| type | string | Specifies the endpoint capacity type. |
| value | number | Defines the capacity size, either as a number of instances or a capacity percentage. |
type
Type:
string
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.
value
Type:
number
Defines the capacity size, either as a number of instances or a capacity percentage.

.NET
Java
Python
TypeScript