Interface CfnFeatureGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFeatureGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-10-26T00:56:13.413Z")
@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();
- 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.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.- 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:
-
builder
- Returns:
- a
CfnFeatureGroupProps.BuilderofCfnFeatureGroupProps
-