interface ThroughputConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Sagemaker.CfnFeatureGroup.ThroughputConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnFeatureGroup_ThroughputConfigProperty |
![]() | software.amazon.awscdk.services.sagemaker.CfnFeatureGroup.ThroughputConfigProperty |
![]() | aws_cdk.aws_sagemaker.CfnFeatureGroup.ThroughputConfigProperty |
![]() | aws-cdk-lib » aws_sagemaker » CfnFeatureGroup » ThroughputConfigProperty |
Used to set feature group throughput configuration.
There are two modes: ON_DEMAND
and PROVISIONED
. With on-demand mode, you are charged for data reads and writes that your application performs on your feature group. You do not need to specify read and write throughput because Feature Store accommodates your workloads as they ramp up and down. You can switch a feature group to on-demand only once in a 24 hour period. With provisioned throughput mode, you specify the read and write capacity per second that you expect your application to require, and you are billed based on those limits. Exceeding provisioned throughput will result in your requests being throttled.
Note: PROVISIONED
throughput mode is supported only for feature groups that are offline-only, or use the Standard
tier online store.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const throughputConfigProperty: sagemaker.CfnFeatureGroup.ThroughputConfigProperty = {
throughputMode: 'throughputMode',
// the properties below are optional
provisionedReadCapacityUnits: 123,
provisionedWriteCapacityUnits: 123,
};
Properties
Name | Type | Description |
---|---|---|
throughput | string | The mode used for your feature group throughput: ON_DEMAND or PROVISIONED . |
provisioned | number | For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling. |
provisioned | number | For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling. |
throughputMode
Type:
string
The mode used for your feature group throughput: ON_DEMAND
or PROVISIONED
.
provisionedReadCapacityUnits?
Type:
number
(optional)
For provisioned feature groups with online store enabled, this indicates the read throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.
provisionedWriteCapacityUnits?
Type:
number
(optional)
For provisioned feature groups, this indicates the write throughput you are billed for and can consume without throttling.
This field is not applicable for on-demand feature groups.