# FeatureDefinitionProperty

A list of features.

You must include `FeatureName` and `FeatureType` . Valid feature `FeatureType` s are `Integral` , `Fractional` and `String` .

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// 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 featureDefinitionProperty: sagemaker.CfnFeatureGroup.FeatureDefinitionProperty = {
  featureName: 'featureName',
  featureType: 'featureType',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

feature_definition_property = sagemaker.CfnFeatureGroup.FeatureDefinitionProperty(
    feature_name="featureName",
    feature_type="featureType"
)
```

Java:

```java
// 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.*;

FeatureDefinitionProperty featureDefinitionProperty = FeatureDefinitionProperty.builder()
        .featureName("featureName")
        .featureType("featureType")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;

var featureDefinitionProperty = new FeatureDefinitionProperty {
    FeatureName = "featureName",
    FeatureType = "featureType"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

featureDefinitionProperty := &FeatureDefinitionProperty{
	FeatureName: jsii.String("featureName"),
	FeatureType: jsii.String("featureType"),
}
```

## Properties

- `featureName`: string (required) — 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.

- `featureType`: string (required) — The value type of a feature.

  Valid values are Integral, Fractional, or String.
