Skip to content
v2.275.0

FeatureDefinitionProperty Struct ​

A list of features.

You must include FeatureName and FeatureType . Valid feature FeatureType s are Integral , Fractional and String .

Example ​

ts
// 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';
const featureDefinitionProperty: sagemaker.CfnFeatureGroup.FeatureDefinitionProperty = {
  featureName: 'featureName',
  featureType: 'featureType',
};

Properties ​

featureNamestringfeature_namestrfeatureNameStringFeatureNamestringFeatureName*stringrequired#
The name of a feature.
notes

The type must be a string. FeatureName cannot be any of the following: is_deleted , write_time , api_invocation_time .

The name:

  • Must start with an alphanumeric character.
  • Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
featureTypestringfeature_typestrfeatureTypeStringFeatureTypestringFeatureType*stringrequired#
The value type of a feature.

Valid values are Integral, Fractional, or String.