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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFeatureGroupPropsstatic final classAn implementation forCfnFeatureGroupProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnFeatureGroupProps.Builderbuilder()default StringA free form description of aFeatureGroup.The name of the feature that stores theEventTimeof a Record in aFeatureGroup.A list ofFeatures.The name of theFeatureGroup.default ObjectThe configuration of anOfflineStore.default ObjectThe configuration of anOnlineStore.The name of theFeaturewhose value uniquely identifies aRecorddefined in theFeatureGroupFeatureDefinitions.default StringThe Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.getTags()Tags used to define aFeatureGroup.default ObjectUsed 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 theEventTimeof a Record in aFeatureGroup.A
EventTimeis point in time when a new event occurs that corresponds to the creation or update of aRecordinFeatureGroup. AllRecordsin theFeatureGroupmust have a correspondingEventTime.- See Also:
-
getFeatureDefinitions
A list ofFeatures. EachFeaturemust include aFeatureNameand aFeatureType.Valid
FeatureTypes areIntegral,FractionalandString.FeatureNames cannot be any of the following:is_deleted,write_time,api_invocation_time.You can create up to 2,500
FeatureDefinitions perFeatureGroup.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnFeatureGroup.FeatureDefinitionProperty>- See Also:
-
getFeatureGroupName
The name of theFeatureGroup.- See Also:
-
getRecordIdentifierFeatureName
The name of theFeaturewhose value uniquely identifies aRecorddefined in theFeatureGroupFeatureDefinitions.- 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_DEMANDandPROVISIONED. 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:
PROVISIONEDthroughput mode is supported only for feature groups that are offline-only, or use theStandardtier online store.Returns union: either
IResolvableorCfnFeatureGroup.ThroughputConfigProperty- See Also:
-
builder
- Returns:
- a
CfnFeatureGroupProps.BuilderofCfnFeatureGroupProps
-