Class CfnFeatureGroup
- All Implemented Interfaces:
IConstruct
,IDependable
,IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
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 FeatureGroup
s quota for your AWS account.
You must include at least one of
OnlineStoreConfig
andOfflineStoreConfig
to create aFeatureGroup
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sagemaker.*; Object offlineStoreConfig; Object onlineStoreConfig; CfnFeatureGroup cfnFeatureGroup = CfnFeatureGroup.Builder.create(this, "MyCfnFeatureGroup") .eventTimeFeatureName("eventTimeFeatureName") .featureDefinitions(List.of(FeatureDefinitionProperty.builder() .featureName("featureName") .featureType("featureType") .build())) .featureGroupName("featureGroupName") .recordIdentifierFeatureName("recordIdentifierFeatureName") // the properties below are optional .description("description") .offlineStoreConfig(offlineStoreConfig) .onlineStoreConfig(onlineStoreConfig) .roleArn("roleArn") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnFeatureGroup
.static interface
The meta data of the Glue table which serves as data catalog for theOfflineStore
.static interface
A list of features.static interface
The configuration of anOfflineStore
.static interface
Use this to specify the AWS Key Management Service (KMS) Key ID, orKMSKeyId
, for at rest data encryption.static interface
The security configuration forOnlineStore
.static interface
The Amazon Simple Storage (Amazon S3) location and and security configuration forOfflineStore
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnFeatureGroup
(Construct scope, String id, CfnFeatureGroupProps props) Create a newAWS::SageMaker::FeatureGroup
.protected
CfnFeatureGroup
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnFeatureGroup
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionA free form description of aFeatureGroup
.The name of the feature that stores theEventTime
of a Record in aFeatureGroup
.A list ofFeature
s.The name of theFeatureGroup
.The configuration of anOfflineStore
.The configuration of anOnlineStore
.The name of theFeature
whose value uniquely identifies aRecord
defined in theFeatureGroup
FeatureDefinitions
.The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.getTags()
Tags used to define aFeatureGroup
.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDescription
(String value) A free form description of aFeatureGroup
.void
setEventTimeFeatureName
(String value) The name of the feature that stores theEventTime
of a Record in aFeatureGroup
.void
setFeatureDefinitions
(List<Object> value) A list ofFeature
s.void
setFeatureDefinitions
(IResolvable value) A list ofFeature
s.void
setFeatureGroupName
(String value) The name of theFeatureGroup
.void
setOfflineStoreConfig
(Object value) The configuration of anOfflineStore
.void
setOnlineStoreConfig
(Object value) The configuration of anOnlineStore
.void
The name of theFeature
whose value uniquely identifies aRecord
defined in theFeatureGroup
FeatureDefinitions
.void
setRoleArn
(String value) The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnFeatureGroup
protected CfnFeatureGroup(software.amazon.jsii.JsiiObjectRef objRef) -
CfnFeatureGroup
protected CfnFeatureGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnFeatureGroup
@Stability(Stable) public CfnFeatureGroup(@NotNull Construct scope, @NotNull String id, @NotNull CfnFeatureGroupProps props) Create a newAWS::SageMaker::FeatureGroup
.- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
props
-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tags used to define aFeatureGroup
. -
getEventTimeFeatureName
The name of the feature that stores theEventTime
of a Record in aFeatureGroup
.A
EventTime
is point in time when a new event occurs that corresponds to the creation or update of aRecord
inFeatureGroup
. AllRecords
in theFeatureGroup
must have a correspondingEventTime
. -
setEventTimeFeatureName
The name of the feature that stores theEventTime
of a Record in aFeatureGroup
.A
EventTime
is point in time when a new event occurs that corresponds to the creation or update of aRecord
inFeatureGroup
. AllRecords
in theFeatureGroup
must have a correspondingEventTime
. -
getFeatureDefinitions
A list ofFeature
s. EachFeature
must include aFeatureName
and aFeatureType
.Valid
FeatureType
s areIntegral
,Fractional
andString
.FeatureName
s cannot be any of the following:is_deleted
,write_time
,api_invocation_time
.You can create up to 2,500
FeatureDefinition
s perFeatureGroup
. -
setFeatureDefinitions
A list ofFeature
s. EachFeature
must include aFeatureName
and aFeatureType
.Valid
FeatureType
s areIntegral
,Fractional
andString
.FeatureName
s cannot be any of the following:is_deleted
,write_time
,api_invocation_time
.You can create up to 2,500
FeatureDefinition
s perFeatureGroup
. -
setFeatureDefinitions
A list ofFeature
s. EachFeature
must include aFeatureName
and aFeatureType
.Valid
FeatureType
s areIntegral
,Fractional
andString
.FeatureName
s cannot be any of the following:is_deleted
,write_time
,api_invocation_time
.You can create up to 2,500
FeatureDefinition
s perFeatureGroup
. -
getFeatureGroupName
The name of theFeatureGroup
. -
setFeatureGroupName
The name of theFeatureGroup
. -
getOfflineStoreConfig
The configuration of anOfflineStore
. -
setOfflineStoreConfig
The configuration of anOfflineStore
. -
getOnlineStoreConfig
The configuration of anOnlineStore
. -
setOnlineStoreConfig
The configuration of anOnlineStore
. -
getRecordIdentifierFeatureName
The name of theFeature
whose value uniquely identifies aRecord
defined in theFeatureGroup
FeatureDefinitions
. -
setRecordIdentifierFeatureName
The name of theFeature
whose value uniquely identifies aRecord
defined in theFeatureGroup
FeatureDefinitions
. -
getDescription
A free form description of aFeatureGroup
. -
setDescription
A free form description of aFeatureGroup
. -
getRoleArn
The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group. -
setRoleArn
The Amazon Resource Name (ARN) of the IAM execution role used to create the feature group.
-