> **Experimental**
>
> `@aws-cdk/aws-s3tables-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# SchemaFieldProperty

Contains details about a schema field.

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/table.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-s3tables-alpha/lib/table.ts#L571)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as s3tables_alpha from '@aws-cdk/aws-s3tables-alpha';
const schemaFieldProperty: s3tables_alpha.SchemaFieldProperty = {
  name: 'name',
  type: 'type',

  // the properties below are optional
  id: 123,
  required: false,
};
```

Python:

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

schema_field_property = s3tables_alpha.SchemaFieldProperty(
    name="name",
    type="type",

    # the properties below are optional
    id=123,
    required=False
)
```

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.s3tables.alpha.*;

SchemaFieldProperty schemaFieldProperty = SchemaFieldProperty.builder()
        .name("name")
        .type("type")

        // the properties below are optional
        .id(123)
        .required(false)
        .build();
```

C# / .NET:

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

var schemaFieldProperty = new SchemaFieldProperty {
    Name = "name",
    Type = "type",

    // the properties below are optional
    Id = 123,
    Required = false
};
```

Golang:

```go
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import s3tables_alpha "github.com/aws-samples/dummy/awscdkawss3tablesalpha"

schemaFieldProperty := &SchemaFieldProperty{
	Name: jsii.String("name"),
	Type: jsii.String("type"),

	// the properties below are optional
	Id: jsii.Number(123),
	Required: jsii.Boolean(false),
}
```

## Properties

- `id`: number — The unique identifier for the field.

  **Default:** Auto-assigned by S3 Tables

- `name`: string (required) — The name of the field.

- `required`: boolean = false — A Boolean value that specifies whether values are required for each row in this field.

  By default, this is `false` and null values are allowed in the field. If this is `true`, the field does not allow null values.

- `type`: string (required) — The field type.

  S3 Tables supports all Apache Iceberg primitive types. For more information, see the [Apache Iceberg documentation](https://iceberg.apache.org/spec/#primitive-types).
