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 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 .

  • 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-forecast-datasetgroup.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-forecast-datasetgroup.html#cfn-forecast-datasetgroup-datasetarns

dataset_group_name

The name of the dataset group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-forecast-datasetgroup.html#cfn-forecast-datasetgroup-datasetgroupname

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 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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-forecast-datasetgroup.html#cfn-forecast-datasetgroup-domain

tags

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

For more information, see Tag .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-forecast-datasetgroup.html#cfn-forecast-datasetgroup-tags