CfnDatasetGroupProps
- class aws_cdk.aws_forecast.CfnDatasetGroupProps(*, dataset_group_name, domain, dataset_arns=None, tags=None)
Bases:
object
Properties for defining a
CfnDatasetGroup
.- Parameters:
dataset_group_name (
str
) – The name of the dataset group.domain (
str
) – The domain associated with the dataset group. When you add a dataset to a dataset group, this value and the value specified for theDomain
parameter of the CreateDataset operation must match. TheDomain
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 .dataset_arns (
Optional
[Sequence
[str
]]) – An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_forecast as forecast cfn_dataset_group_props = forecast.CfnDatasetGroupProps( dataset_group_name="datasetGroupName", domain="domain", # the properties below are optional dataset_arns=["datasetArns"], tags=[CfnTag( key="key", value="value" )] )
Attributes
- dataset_arns
An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.
- dataset_group_name
The name of the dataset group.
- 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 .