interface SchemaProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SCN.CfnDataset.SchemaProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsscn#CfnDataset_SchemaProperty |
Java | software.amazon.awscdk.services.scn.CfnDataset.SchemaProperty |
Python | aws_cdk.aws_scn.CfnDataset.SchemaProperty |
TypeScript | aws-cdk-lib » aws_scn » CfnDataset » SchemaProperty |
The schema of the dataset.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-scn-dataset-schema.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_scn as scn } from 'aws-cdk-lib';
const schemaProperty: scn.CfnDataset.SchemaProperty = {
fields: [{
isRequired: false,
name: 'name',
type: 'type',
}],
name: 'name',
// the properties below are optional
primaryKeys: [{
name: 'name',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| fields | IResolvable | (IResolvable | Data)[] | The list of field details of the dataset schema. |
| name | string | The name of the dataset schema. |
| primary | IResolvable | (IResolvable | Data)[] | The list of primary key fields for the dataset. |
fields
Type:
IResolvable | (IResolvable | Data)[]
The list of field details of the dataset schema.
name
Type:
string
The name of the dataset schema.
primaryKeys?
Type:
IResolvable | (IResolvable | Data)[]
(optional)
The list of primary key fields for the dataset.

.NET
Go
Java
Python
TypeScript