import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class FeatureDefinition { FeatureName ! : Value < string > ; FeatureType ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface FeatureGroupProperties { FeatureGroupName : Value < string > ; RecordIdentifierFeatureName : Value < string > ; EventTimeFeatureName : Value < string > ; FeatureDefinitions : List < FeatureDefinition > ; OnlineStoreConfig ? : { [ key ] : any ; } ; OfflineStoreConfig ? : { [ key ] : any ; } ; RoleArn ? : Value < string > ; Description ? : Value < string > ; Tags ? : List < ResourceTag > ; } export default class FeatureGroup extends ResourceBase < FeatureGroupProperties > { static FeatureDefinition = FeatureDefinition ; constructor ( properties ) { super ( 'AWS::SageMaker::FeatureGroup' , properties ) ; } }