Interface CfnFeatureGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFeatureGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:35.212Z")
@Stability(Stable)
public interface CfnFeatureGroupProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
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()))
.build();
-
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.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. -
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. -
getFeatureGroupName
The name of theFeatureGroup. -
getRecordIdentifierFeatureName
The name of theFeaturewhose value uniquely identifies aRecorddefined in theFeatureGroupFeatureDefinitions. -
getDescription
A free form description of aFeatureGroup. -
getOfflineStoreConfig
The configuration of anOfflineStore. -
getOnlineStoreConfig
The configuration of anOnlineStore. -
getRoleArn
The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group. -
getTags
Tags used to define aFeatureGroup. -
builder
- Returns:
- a
CfnFeatureGroupProps.BuilderofCfnFeatureGroupProps
-