interface OfflineStoreConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Sagemaker.CfnFeatureGroup.OfflineStoreConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssagemaker#CfnFeatureGroup_OfflineStoreConfigProperty |
Java | software.amazon.awscdk.services.sagemaker.CfnFeatureGroup.OfflineStoreConfigProperty |
Python | aws_cdk.aws_sagemaker.CfnFeatureGroup.OfflineStoreConfigProperty |
TypeScript | aws-cdk-lib » aws_sagemaker » CfnFeatureGroup » OfflineStoreConfigProperty |
The configuration of an OfflineStore
.
Provide an OfflineStoreConfig
in a request to CreateFeatureGroup
to create an OfflineStore
.
To encrypt an OfflineStore
using at rest data encryption, specify AWS Key Management Service (KMS) key ID, or KMSKeyId
, in S3StorageConfig
.
Example
// 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 offlineStoreConfigProperty: sagemaker.CfnFeatureGroup.OfflineStoreConfigProperty = {
s3StorageConfig: {
s3Uri: 's3Uri',
// the properties below are optional
kmsKeyId: 'kmsKeyId',
},
// the properties below are optional
dataCatalogConfig: {
catalog: 'catalog',
database: 'database',
tableName: 'tableName',
},
disableGlueTableCreation: false,
tableFormat: 'tableFormat',
};
Properties
Name | Type | Description |
---|---|---|
s3 | IResolvable | S3 | The Amazon Simple Storage (Amazon S3) location of OfflineStore . |
data | IResolvable | Data | The meta data of the Glue table that is autogenerated when an OfflineStore is created. |
disable | boolean | IResolvable | Set to True to disable the automatic creation of an AWS Glue table when configuring an OfflineStore . |
table | string | Format for the offline store table. |
s3StorageConfig
Type:
IResolvable
|
S3
The Amazon Simple Storage (Amazon S3) location of OfflineStore
.
dataCatalogConfig?
Type:
IResolvable
|
Data
(optional)
The meta data of the Glue table that is autogenerated when an OfflineStore
is created.
disableGlueTableCreation?
Type:
boolean |
IResolvable
(optional)
Set to True
to disable the automatic creation of an AWS Glue table when configuring an OfflineStore
.
If set to False
, Feature Store will name the OfflineStore
Glue table following Athena's naming recommendations .
The default value is False
.
tableFormat?
Type:
string
(optional)
Format for the offline store table.
Supported formats are Glue (Default) and Apache Iceberg .