Package com.pulumi.aws.sagemaker
Class FeatureGroup
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.aws.sagemaker.FeatureGroup
-
public class FeatureGroup extends com.pulumi.resources.CustomResourceProvides a SageMaker AI Feature Group resource. ## Example Usage Basic usage:
## Import Using `pulumi import`, import Feature Groups using the `name`. For example: ```sh $ pulumi import aws:sagemaker/featureGroup:FeatureGroup test_feature_group feature_group-foo ```package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.sagemaker.FeatureGroup; import com.pulumi.aws.sagemaker.FeatureGroupArgs; import com.pulumi.aws.sagemaker.inputs.FeatureGroupOnlineStoreConfigArgs; import com.pulumi.aws.sagemaker.inputs.FeatureGroupFeatureDefinitionArgs; import java.util.ArrayList; import java.util.Arrays; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { var example = new FeatureGroup("example", FeatureGroupArgs.builder() .onlineStoreConfig(FeatureGroupOnlineStoreConfigArgs.builder() .enableOnlineStore(true) .build()) .featureDefinitions(FeatureGroupFeatureDefinitionArgs.builder() .featureName("example") .featureType("String") .build()) .featureGroupName("example") .recordIdentifierFeatureName("example") .eventTimeFeatureName("example") .roleArn(test.arn()) .build()); } }
-
-
Constructor Summary
Constructors Constructor Description FeatureGroup(java.lang.String name)FeatureGroup(java.lang.String name, FeatureGroupArgs args)FeatureGroup(java.lang.String name, FeatureGroupArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.lang.String>arn()com.pulumi.core.Output<java.util.Optional<java.lang.String>>description()com.pulumi.core.Output<java.lang.String>eventTimeFeatureName()com.pulumi.core.Output<java.util.List<FeatureGroupFeatureDefinition>>featureDefinitions()com.pulumi.core.Output<java.lang.String>featureGroupName()static FeatureGroupget(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, FeatureGroupState state, com.pulumi.resources.CustomResourceOptions options)Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.util.Optional<FeatureGroupOfflineStoreConfig>>offlineStoreConfig()com.pulumi.core.Output<java.util.Optional<FeatureGroupOnlineStoreConfig>>onlineStoreConfig()com.pulumi.core.Output<java.lang.String>recordIdentifierFeatureName()com.pulumi.core.Output<java.lang.String>region()com.pulumi.core.Output<java.lang.String>roleArn()com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>>tags()com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>>tagsAll()com.pulumi.core.Output<FeatureGroupThroughputConfig>throughputConfig()
-
-
-
Constructor Detail
-
FeatureGroup
public FeatureGroup(java.lang.String name)
- Parameters:
name- The _unique_ name of the resulting resource.
-
FeatureGroup
public FeatureGroup(java.lang.String name, FeatureGroupArgs args)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.
-
FeatureGroup
public FeatureGroup(java.lang.String name, FeatureGroupArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)- Parameters:
name- The _unique_ name of the resulting resource.args- The arguments to use to populate this resource's properties.options- A bag of options that control this resource's behavior.
-
-
Method Detail
-
arn
public com.pulumi.core.Output<java.lang.String> arn()
- Returns:
- ARN assigned by AWS to this feature_group.
-
description
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> description()
- Returns:
- A free-form description of a Feature Group.
-
eventTimeFeatureName
public com.pulumi.core.Output<java.lang.String> eventTimeFeatureName()
- Returns:
- The name of the feature that stores the EventTime of a Record in a Feature Group.
-
featureDefinitions
public com.pulumi.core.Output<java.util.List<FeatureGroupFeatureDefinition>> featureDefinitions()
- Returns:
- A list of Feature names and types. See Feature Definition Below.
-
featureGroupName
public com.pulumi.core.Output<java.lang.String> featureGroupName()
- Returns:
- The name of the Feature Group. The name must be unique within an AWS Region in an AWS account.
-
offlineStoreConfig
public com.pulumi.core.Output<java.util.Optional<FeatureGroupOfflineStoreConfig>> offlineStoreConfig()
- Returns:
- The Offline Feature Store Configuration. See Offline Store Config Below.
-
onlineStoreConfig
public com.pulumi.core.Output<java.util.Optional<FeatureGroupOnlineStoreConfig>> onlineStoreConfig()
- Returns:
- The Online Feature Store Configuration. See Online Store Config Below.
-
recordIdentifierFeatureName
public com.pulumi.core.Output<java.lang.String> recordIdentifierFeatureName()
- Returns:
- The name of the Feature whose value uniquely identifies a Record defined in the Feature Store. Only the latest record per identifier value will be stored in the Online Store.
-
region
public com.pulumi.core.Output<java.lang.String> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
roleArn
public com.pulumi.core.Output<java.lang.String> roleArn()
- Returns:
- The ARN of the IAM execution role used to persist data into the Offline Store if an `offlineStoreConfig` is provided.
-
tags
public com.pulumi.core.Output<java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>> tags()
- Returns:
- Map of resource tags for the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
-
tagsAll
public com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll()
- Returns:
- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
-
throughputConfig
public com.pulumi.core.Output<FeatureGroupThroughputConfig> throughputConfig()
-
get
public static FeatureGroup get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable FeatureGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name- The _unique_ name of the resulting resource.id- The _unique_ provider ID of the resource to lookup.state-options- Optional settings to control the behavior of the CustomResource.
-
-