This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::SageMaker::FeatureGroup
Create a new FeatureGroup. A FeatureGroup is a group of
Features defined in the FeatureStore to describe a
Record.
The FeatureGroup defines the schema and features contained in the
FeatureGroup. A FeatureGroup definition is composed of a list of
Features, a RecordIdentifierFeatureName, an
EventTimeFeatureName and configurations for its OnlineStore
and OfflineStore. Check AWS service quotas to see the FeatureGroups quota
for your AWS account.
Important
You must include at least one of OnlineStoreConfig and
OfflineStoreConfig to create a FeatureGroup.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::SageMaker::FeatureGroup", "Properties" : { "Description" :String, "EventTimeFeatureName" :String, "FeatureDefinitions" :[ FeatureDefinition, ... ], "FeatureGroupName" :String, "OfflineStoreConfig" :OfflineStoreConfig, "OnlineStoreConfig" :OnlineStoreConfig, "RecordIdentifierFeatureName" :String, "RoleArn" :String, "Tags" :[ Tag, ... ], "ThroughputConfig" :ThroughputConfig} }
YAML
Type: AWS::SageMaker::FeatureGroup Properties: Description:StringEventTimeFeatureName:StringFeatureDefinitions:- FeatureDefinitionFeatureGroupName:StringOfflineStoreConfig:OfflineStoreConfigOnlineStoreConfig:OnlineStoreConfigRecordIdentifierFeatureName:StringRoleArn:StringTags:- TagThroughputConfig:ThroughputConfig
Properties
Description-
A free form description of a
FeatureGroup.Required: No
Type: String
Maximum:
128Update requires: Replacement
EventTimeFeatureName-
The name of the feature that stores the
EventTimeof 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.Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,63}Minimum:
1Maximum:
64Update requires: Replacement
FeatureDefinitions-
A list of
Features. 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.Required: Yes
Type: Array of FeatureDefinition
Minimum:
1Maximum:
2500Update requires: No interruption
FeatureGroupName-
The name of the
FeatureGroup.Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,63}Minimum:
1Maximum:
64Update requires: Replacement
OfflineStoreConfig-
The configuration of an
OfflineStore.Required: No
Type: OfflineStoreConfig
Update requires: Replacement
OnlineStoreConfig-
The configuration of an
OnlineStore.Required: No
Type: OnlineStoreConfig
Update requires: No interruption
RecordIdentifierFeatureName-
The name of the
Featurewhose value uniquely identifies aRecorddefined in theFeatureGroupFeatureDefinitions.Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,63}Minimum:
1Maximum:
64Update requires: Replacement
RoleArn-
The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.
Required: No
Type: String
Pattern:
^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$Minimum:
20Maximum:
2048Update requires: Replacement
-
Tags used to define a
FeatureGroup.Required: No
Type: Array of Tag
Maximum:
50Update requires: Replacement
ThroughputConfig-
Used to set feature group throughput configuration. There are two modes:
ON_DEMANDandPROVISIONED. 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:
PROVISIONEDthroughput mode is supported only for feature groups that are offline-only, or use theStandardtier online store.Required: No
Type: ThroughputConfig
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the FeatureGroupName of the feature group.
For more information about using the Ref function, see Ref.
Fn::GetAtt
The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.
CreationTime-
The time a
FeatureGroupwas created. FeatureGroupStatus-
A
FeatureGroupstatus.