# AWS::SageMaker::FeatureGroup Resource Type definition for AWS::SageMaker::FeatureGroup ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{ "Type" : "AWS::SageMaker::FeatureGroup", "Properties" : { "FeatureGroupName" : String, "RecordIdentifierFeatureName" : String, "EventTimeFeatureName" : String, "FeatureDefinitions" : [ FeatureDefinition, ... ], "OnlineStoreConfig" : OnlineStoreConfig, "OfflineStoreConfig" : OfflineStoreConfig, "RoleArn" : String, "Description" : String, "Tags" : [ Tag, ... ] } }### YAML
Type: AWS::SageMaker::FeatureGroup Properties: FeatureGroupName: String RecordIdentifierFeatureName: String EventTimeFeatureName: String FeatureDefinitions: - FeatureDefinition OnlineStoreConfig: OnlineStoreConfig OfflineStoreConfig: OfflineStoreConfig RoleArn: String Description: String Tags: - Tag## Properties #### FeatureGroupName The Name of the FeatureGroup. _Required_: Yes _Type_: String _Minimum_:
1
_Maximum_: 64
_Pattern_: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,63}
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### RecordIdentifierFeatureName
The Record Identifier Feature Name.
_Required_: Yes
_Type_: String
_Minimum_: 1
_Maximum_: 64
_Pattern_: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,63}
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### EventTimeFeatureName
The Event Time Feature Name.
_Required_: Yes
_Type_: String
_Minimum_: 1
_Maximum_: 64
_Pattern_: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,63}
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### FeatureDefinitions
An Array of Feature Definition
_Required_: Yes
_Type_: List of FeatureDefinition
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### OnlineStoreConfig
_Required_: No
_Type_: OnlineStoreConfig
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### OfflineStoreConfig
_Required_: No
_Type_: OfflineStoreConfig
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### RoleArn
Role Arn
_Required_: No
_Type_: String
_Minimum_: 20
_Maximum_: 2048
_Pattern_: ^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### Description
Description about the FeatureGroup.
_Required_: No
_Type_: String
_Maximum_: 128
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### Tags
An array of key-value pair to apply to this resource.
_Required_: No
_Type_: List of Tag
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
## Return Values
### Ref
When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the FeatureGroupName.
### 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html).
#### CreationTime
Returns the CreationTime
value.
#### FeatureGroupStatus
Returns the FeatureGroupStatus
value.
#### FailureReason
Returns the FailureReason
value.
#### OfflineStoreStatus
Returns the OfflineStoreStatus
value.