Interface CfnFeatureGroup.ThroughputConfigProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnFeatureGroup.ThroughputConfigProperty.Jsii$Proxy
Enclosing class:
CfnFeatureGroup

@Stability(Stable) public static interface CfnFeatureGroup.ThroughputConfigProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.sagemaker.*;
 ThroughputConfigProperty throughputConfigProperty = ThroughputConfigProperty.builder()
         .throughputMode("throughputMode")
         // the properties below are optional
         .provisionedReadCapacityUnits(123)
         .provisionedWriteCapacityUnits(123)
         .build();
 

See Also: