Interface CfnFeatureGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFeatureGroupProps.Jsii$Proxy
CfnFeatureGroup
.
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.*; Object offlineStoreConfig; Object onlineStoreConfig; CfnFeatureGroupProps cfnFeatureGroupProps = CfnFeatureGroupProps.builder() .eventTimeFeatureName("eventTimeFeatureName") .featureDefinitions(List.of(FeatureDefinitionProperty.builder() .featureName("featureName") .featureType("featureType") .build())) .featureGroupName("featureGroupName") .recordIdentifierFeatureName("recordIdentifierFeatureName") // the properties below are optional .description("description") .offlineStoreConfig(offlineStoreConfig) .onlineStoreConfig(onlineStoreConfig) .roleArn("roleArn") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .throughputConfig(ThroughputConfigProperty.builder() .throughputMode("throughputMode") // the properties below are optional .provisionedReadCapacityUnits(123) .provisionedWriteCapacityUnits(123) .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnFeatureGroupProps
static final class
An implementation forCfnFeatureGroupProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnFeatureGroupProps.Builder
builder()
default String
A free form description of aFeatureGroup
.The name of the feature that stores theEventTime
of a Record in aFeatureGroup
.A list ofFeature
s.The name of theFeatureGroup
.default Object
The configuration of anOfflineStore
.default Object
The configuration of anOnlineStore
.The name of theFeature
whose value uniquely identifies aRecord
defined in theFeatureGroup
FeatureDefinitions
.default String
The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.getTags()
Tags used to define aFeatureGroup
.default Object
Used to set feature group throughput configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventTimeFeatureName
The name of the feature that stores theEventTime
of a Record in aFeatureGroup
.A
EventTime
is point in time when a new event occurs that corresponds to the creation or update of aRecord
inFeatureGroup
. AllRecords
in theFeatureGroup
must have a correspondingEventTime
.- See Also:
-
getFeatureDefinitions
A list ofFeature
s. EachFeature
must include aFeatureName
and aFeatureType
.Valid
FeatureType
s areIntegral
,Fractional
andString
.FeatureName
s cannot be any of the following:is_deleted
,write_time
,api_invocation_time
.You can create up to 2,500
FeatureDefinition
s perFeatureGroup
.- See Also:
-
getFeatureGroupName
The name of theFeatureGroup
.- See Also:
-
getRecordIdentifierFeatureName
The name of theFeature
whose value uniquely identifies aRecord
defined in theFeatureGroup
FeatureDefinitions
.- See Also:
-
getDescription
A free form description of aFeatureGroup
.- See Also:
-
getOfflineStoreConfig
The configuration of anOfflineStore
.- See Also:
-
getOnlineStoreConfig
The configuration of anOnlineStore
.- See Also:
-
getRoleArn
The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.- See Also:
-
getTags
Tags used to define aFeatureGroup
.- See Also:
-
getThroughputConfig
Used to set feature group throughput configuration.There are two modes:
ON_DEMAND
andPROVISIONED
. 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 theStandard
tier online store.- See Also:
-
builder
- Returns:
- a
CfnFeatureGroupProps.Builder
ofCfnFeatureGroupProps
-