AWS::Forecast::DatasetGroup
Creates a dataset group, which holds a collection of related datasets. You can add datasets to the dataset group when you create the dataset group, or later by using the UpdateDatasetGroup operation.
Important
Amazon Forecast is no longer available to new customers. Existing customers of
Amazon Forecast can continue to use the service as normal.
Learn more"
After creating a dataset group and adding datasets, you use the dataset group when you create a predictor. For more information, see Dataset groups.
To get a list of all your datasets groups, use the ListDatasetGroups operation.
Note
The Status
of a dataset group must be ACTIVE
before you can
use the dataset group to create a predictor. To get the status, use the DescribeDatasetGroup operation.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::Forecast::DatasetGroup", "Properties" : { "DatasetArns" :
[ String, ... ]
, "DatasetGroupName" :String
, "Domain" :String
, "Tags" :[ Tag, ... ]
} }
YAML
Type: AWS::Forecast::DatasetGroup Properties: DatasetArns:
- String
DatasetGroupName:String
Domain:String
Tags:- Tag
Properties
DatasetArns
-
An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.
Required: No
Type: Array of String
Update requires: No interruption
DatasetGroupName
-
The name of the dataset group.
Required: Yes
Type: String
Pattern:
^[a-zA-Z][a-zA-Z0-9_]*
Minimum:
1
Maximum:
63
Update requires: Replacement
Domain
-
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
andDatasetType
that you choose determine the fields that must be present in training data that you import to a dataset. For example, if you choose theRETAIL
domain andTARGET_TIME_SERIES
as theDatasetType
, Amazon Forecast requires thatitem_id
,timestamp
, anddemand
fields are present in your data. For more information, see Dataset groups.Required: Yes
Type: String
Allowed values:
RETAIL | CUSTOM | INVENTORY_PLANNING | EC2_CAPACITY | WORK_FORCE | WEB_TRAFFIC | METRICS
Update requires: No interruption
-
An array of key-value pairs to apply to this resource.
For more information, see Tag.
Required: No
Type: Array of Tag
Minimum:
0
Maximum:
200
Update requires: No interruption
Return values
Fn::GetAtt
The Fn::GetAtt
intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt
intrinsic function, see Fn::GetAtt
.
DatasetGroupArn
-
The Amazon Resource Name (ARN) of the dataset group.