AWS Amazon SageMaker Feature Group
This page shows how to write Terraform and CloudFormation for Amazon SageMaker Feature Group and write them securely.
aws_sagemaker_feature_group (Terraform)
The Feature Group in Amazon SageMaker can be configured in Terraform with the resource name aws_sagemaker_feature_group
. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "aws_sagemaker_feature_group" "test" {
feature_group_name = %[1]q
record_identifier_feature_name = %[1]q
event_time_feature_name = %[1]q
role_arn = aws_iam_role.test.arn
Parameters
-
arn
optional computed - string -
description
optional - string -
event_time_feature_name
required - string -
feature_group_name
required - string -
id
optional computed - string -
record_identifier_feature_name
required - string -
role_arn
required - string -
tags
optional - map from string to string -
feature_definition
list block-
feature_name
optional - string -
feature_type
optional - string
-
-
offline_store_config
list block-
disable_glue_table_creation
optional - bool -
data_catalog_config
list block-
catalog
optional computed - string -
database
optional computed - string -
table_name
optional computed - string
-
-
s3_storage_config
list block-
kms_key_id
optional - string -
s3_uri
required - string
-
-
-
online_store_config
list block-
enable_online_store
optional - bool -
security_config
list block-
kms_key_id
optional - string
-
-
Explanation in Terraform Registry
Provides a SageMaker Feature Group resource.
AWS::SageMaker::FeatureGroup (CloudFormation)
The FeatureGroup in SageMaker can be configured in CloudFormation with the resource name AWS::SageMaker::FeatureGroup
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
-
FeatureGroupName
required - String -
RecordIdentifierFeatureName
required - String -
EventTimeFeatureName
required - String -
FeatureDefinitions
required - List of FeatureDefinition -
OnlineStoreConfig
optional - Json -
OfflineStoreConfig
optional - Json -
RoleArn
optional - String -
Description
optional - String -
Tags
optional - List of Tag
Explanation in CloudFormation Registry
Create a new
FeatureGroup
. AFeatureGroup
is a group ofFeatures
defined in theFeatureStore
to describe aRecord
. TheFeatureGroup
defines the schema and features contained in the FeatureGroup. AFeatureGroup
definition is composed of a list ofFeatures
, aRecordIdentifierFeatureName
, anEventTimeFeatureName
and configurations for itsOnlineStore
andOfflineStore
. Check AWS service quotas to see theFeatureGroup
s quota for your AWS account.Important You must include at least one of
OnlineStoreConfig
andOfflineStoreConfig
to create aFeatureGroup
.
Frequently asked questions
What is AWS Amazon SageMaker Feature Group?
AWS Amazon SageMaker Feature Group is a resource for Amazon SageMaker of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.
Where can I find the example code for the AWS Amazon SageMaker Feature Group?
For Terraform, the JamesWoolfenden/check-encrypt source code example is useful. See the Terraform Example section for further details.