CfnDatasetGroupPropsMixin

class aws_cdk.mixins_preview.aws_forecast.mixins.CfnDatasetGroupPropsMixin(props, *, strategy=None)

Bases: Mixin

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

Amazon Forecast is no longer available to new customers. Existing customers of Amazon Forecast can continue to use the service as normal. `Learn more" <https://docs.aws.amazon.com/machine-learning/transition-your-amazon-forecast-usage-to-amazon-sagemaker-canvas/>`_

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

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 <https://docs.aws.amazon.com/forecast/latest/dg/API_DescribeDatasetGroup.html>`_ operation.
See:

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

CloudformationResource:

AWS::Forecast::DatasetGroup

Mixin:

true

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_forecast import mixins as forecast_mixins

cfn_dataset_group_props_mixin = forecast_mixins.CfnDatasetGroupPropsMixin(forecast_mixins.CfnDatasetGroupMixinProps(
    dataset_arns=["datasetArns"],
    dataset_group_name="datasetGroupName",
    domain="domain",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Forecast::DatasetGroup.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['datasetArns', 'datasetGroupName', 'domain', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental