aws-cdk-lib.aws_forecast.CfnDatasetGroupProps

interface CfnDatasetGroupProps

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

Properties for defining a CfnDatasetGroup.

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 cfnDatasetGroupProps: forecast.CfnDatasetGroupProps = {
  datasetGroupName: 'datasetGroupName',
  domain: 'domain',

  // the properties below are optional
  datasetArns: ['datasetArns'],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
datasetGroupNamestringThe name of the dataset group.
domainstringThe domain associated with the dataset group.
datasetArns?string[]An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.
tags?CfnTag[]An array of key-value pairs to apply to this resource.

datasetGroupName

Type: string

The name of the dataset group.


domain

Type: string

The domain associated with the dataset group.

When you add a dataset to a dataset group, this value and the value specified for the Domain parameter of the CreateDataset operation must match.

The Domain and DatasetType that you choose determine the fields that must be present in training data that you import to a dataset. For example, if you choose the RETAIL domain and TARGET_TIME_SERIES as the DatasetType , Amazon Forecast requires that item_id , timestamp , and demand fields are present in your data. For more information, see Dataset groups .


datasetArns?

Type: string[] (optional)

An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.


tags?

Type: CfnTag[] (optional)

An array of key-value pairs to apply to this resource.

For more information, see Tag .