Skip to content
v2.274.0

SchemaProperty Struct ​

Defines the fields of a dataset.

Example ​

ts
// 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 ​

attributesIResolvable | IResolvable | CfnDataset.AttributesItemsProperty[]attributestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AttributesItemsProperty]]]attributesIResolvableAttributesIResolvableAttributesinterface{}#
An array of attributes specifying the name and type of each field in a dataset.