aws-cdk-lib.aws_forecast.CfnDataset.SchemaProperty

interface SchemaProperty

LanguageType name
.NETAmazon.CDK.AWS.Forecast.CfnDataset.SchemaProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsforecast#CfnDataset_SchemaProperty
Javasoftware.amazon.awscdk.services.forecast.CfnDataset.SchemaProperty
Pythonaws_cdk.aws_forecast.CfnDataset.SchemaProperty
TypeScript aws-cdk-lib » aws_forecast » CfnDataset » SchemaProperty

Defines the fields of a dataset.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_forecast as forecast } from 'aws-cdk-lib';
const schemaProperty: forecast.CfnDataset.SchemaProperty = {
  attributes: [{
    attributeName: 'attributeName',
    attributeType: 'attributeType',
  }],
};

Properties

NameTypeDescription
attributes?IResolvable | IResolvable | AttributesItemsProperty[]An array of attributes specifying the name and type of each field in a dataset.

attributes?

Type: IResolvable | IResolvable | AttributesItemsProperty[] (optional)

An array of attributes specifying the name and type of each field in a dataset.