interface CfnFeatureGroupProps
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Sagemaker.CfnFeatureGroupProps | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnFeatureGroupProps | 
|  Java | software.amazon.awscdk.services.sagemaker.CfnFeatureGroupProps | 
|  Python | aws_cdk.aws_sagemaker.CfnFeatureGroupProps | 
|  TypeScript | aws-cdk-lib»aws_sagemaker»CfnFeatureGroupProps | 
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 { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
declare const offlineStoreConfig: any;
declare const onlineStoreConfig: any;
const cfnFeatureGroupProps: sagemaker.CfnFeatureGroupProps = {
  eventTimeFeatureName: 'eventTimeFeatureName',
  featureDefinitions: [{
    featureName: 'featureName',
    featureType: 'featureType',
  }],
  featureGroupName: 'featureGroupName',
  recordIdentifierFeatureName: 'recordIdentifierFeatureName',
  // the properties below are optional
  description: 'description',
  offlineStoreConfig: offlineStoreConfig,
  onlineStoreConfig: onlineStoreConfig,
  roleArn: 'roleArn',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  throughputConfig: {
    throughputMode: 'throughputMode',
    // the properties below are optional
    provisionedReadCapacityUnits: 123,
    provisionedWriteCapacityUnits: 123,
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| event | string | The name of the feature that stores the EventTimeof a Record in aFeatureGroup. | 
| feature | IResolvable | (IResolvable | Feature)[] | A list of Features. EachFeaturemust include aFeatureNameand aFeatureType. | 
| feature | string | The name of the FeatureGroup. | 
| record | string | The name of the Featurewhose value uniquely identifies aRecorddefined in theFeatureGroupFeatureDefinitions. | 
| description? | string | A free form description of a FeatureGroup. | 
| offline | any | The configuration of an OfflineStore. | 
| online | any | The configuration of an OnlineStore. | 
| role | string | The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group. | 
| tags? | Cfn[] | Tags used to define a FeatureGroup. | 
| throughput | IResolvable | Throughput | Used to set feature group throughput configuration. | 
eventTimeFeatureName
Type:
string
The name of the feature that stores the EventTime of a Record in a FeatureGroup .
A EventTime is point in time when a new event occurs that corresponds to the creation or update of a Record in FeatureGroup . All Records in the FeatureGroup must have a corresponding EventTime .
featureDefinitions
Type:
IResolvable | (IResolvable | Feature)[]
A list of Feature s. Each Feature must include a FeatureName and a FeatureType .
Valid FeatureType s are Integral , Fractional and String .
FeatureName s cannot be any of the following: is_deleted , write_time , api_invocation_time .
You can create up to 2,500 FeatureDefinition s per FeatureGroup .
featureGroupName
Type:
string
The name of the FeatureGroup .
recordIdentifierFeatureName
Type:
string
The name of the Feature whose value uniquely identifies a Record defined in the FeatureGroup FeatureDefinitions .
description?
Type:
string
(optional)
A free form description of a FeatureGroup .
offlineStoreConfig?
Type:
any
(optional)
The configuration of an OfflineStore .
onlineStoreConfig?
Type:
any
(optional)
The configuration of an OnlineStore .
roleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.
tags?
Type:
Cfn[]
(optional)
Tags used to define a FeatureGroup .
throughputConfig?
Type:
IResolvable | Throughput
(optional)
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.
