Class CfnFeatureGroup
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.sagemaker.CfnFeatureGroup
- All Implemented Interfaces:
IInspectable
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:56:05.584Z")
@Stability(Stable)
public class CfnFeatureGroup
extends CfnResource
implements IInspectable, ITaggable
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())) .throughputConfig(ThroughputConfigProperty.builder() .throughputMode("throughputMode") // the properties below are optional .provisionedReadCapacityUnits(123) .provisionedWriteCapacityUnits(123) .build()) .build();
- See Also:
-
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 security configuration forOfflineStore
.static interface
Used to set feature group throughput configuration.static interface
Time to live duration, where the record is hard deleted after the expiration time is reached;Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnFeatureGroup
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnFeatureGroup
(software.amazon.jsii.JsiiObjectRef objRef) CfnFeatureGroup
(software.constructs.Construct scope, String id, CfnFeatureGroupProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe time aFeatureGroup
was created.AFeatureGroup
status.A 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()
Tag Manager which manages the tags for this resource.Tags used to define aFeatureGroup
.Used to set feature group throughput configuration.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.void
setTagsRaw
(List<CfnTag> value) Tags used to define aFeatureGroup
.void
setThroughputConfig
(IResolvable value) Used to set feature group throughput configuration.void
Used to set feature group throughput configuration.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnFeatureGroupProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrCreationTime
The time aFeatureGroup
was created. -
getAttrFeatureGroupStatus
AFeatureGroup
status. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getEventTimeFeatureName
The name of the feature that stores theEventTime
of a Record in aFeatureGroup
. -
setEventTimeFeatureName
The name of the feature that stores theEventTime
of a Record in aFeatureGroup
. -
getFeatureDefinitions
A list ofFeature
s.Each
Feature
must include aFeatureName
and aFeatureType
. -
setFeatureDefinitions
A list ofFeature
s.Each
Feature
must include aFeatureName
and aFeatureType
. -
setFeatureDefinitions
A list ofFeature
s.Each
Feature
must include aFeatureName
and aFeatureType
. -
getFeatureGroupName
The name of theFeatureGroup
. -
setFeatureGroupName
The name of theFeatureGroup
. -
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
. -
getOfflineStoreConfig
The configuration of anOfflineStore
. -
setOfflineStoreConfig
The configuration of anOfflineStore
. -
getOnlineStoreConfig
The configuration of anOnlineStore
. -
setOnlineStoreConfig
The configuration of anOnlineStore
. -
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. -
getTagsRaw
Tags used to define aFeatureGroup
. -
setTagsRaw
Tags used to define aFeatureGroup
. -
getThroughputConfig
Used to set feature group throughput configuration. -
setThroughputConfig
Used to set feature group throughput configuration. -
setThroughputConfig
@Stability(Stable) public void setThroughputConfig(@Nullable CfnFeatureGroup.ThroughputConfigProperty value) Used to set feature group throughput configuration.
-