Class: AWSCDK::Sagemaker::CfnFeatureGroup::FeatureDefinitionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnFeatureGroup::FeatureDefinitionProperty
- Defined in:
- sagemaker/cfn_feature_group.rb
Overview
A list of features.
You must include FeatureName and FeatureType . Valid feature FeatureType s are Integral , Fractional and String .
Instance Attribute Summary collapse
-
#feature_name ⇒ String
readonly
The name of a feature.
-
#feature_type ⇒ String
readonly
The value type of a feature.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(feature_name:, feature_type:) ⇒ FeatureDefinitionProperty
constructor
A new instance of FeatureDefinitionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(feature_name:, feature_type:) ⇒ FeatureDefinitionProperty
Returns a new instance of FeatureDefinitionProperty.
720 721 722 723 724 725 |
# File 'sagemaker/cfn_feature_group.rb', line 720 def initialize(feature_name:, feature_type:) @feature_name = feature_name Jsii::Type.check_type(@feature_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "featureName") @feature_type = feature_type Jsii::Type.check_type(@feature_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "featureType") end |
Instance Attribute Details
#feature_name ⇒ String (readonly)
The name of a feature.
The type must be a string. FeatureName cannot be any of the following: is_deleted , write_time , api_invocation_time .
The name:
- Must start with an alphanumeric character.
- Can only include alphanumeric characters, underscores, and hyphens. Spaces are not allowed.
738 739 740 |
# File 'sagemaker/cfn_feature_group.rb', line 738 def feature_name @feature_name end |
#feature_type ⇒ String (readonly)
The value type of a feature.
Valid values are Integral, Fractional, or String.
745 746 747 |
# File 'sagemaker/cfn_feature_group.rb', line 745 def feature_type @feature_type end |
Class Method Details
.jsii_properties ⇒ Object
747 748 749 750 751 752 |
# File 'sagemaker/cfn_feature_group.rb', line 747 def self.jsii_properties { :feature_name => "featureName", :feature_type => "featureType", } end |
Instance Method Details
#to_jsii ⇒ Object
754 755 756 757 758 759 760 761 |
# File 'sagemaker/cfn_feature_group.rb', line 754 def to_jsii result = {} result.merge!({ "featureName" => @feature_name, "featureType" => @feature_type, }) result.compact end |