class CfnDatasetGroupPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Forecast.Mixins.CfnDatasetGroupPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsforecast/mixins#CfnDatasetGroupPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.forecast.mixins.CfnDatasetGroupPropsMixin |
Python | aws_cdk.mixins_preview.aws_forecast.mixins.CfnDatasetGroupPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_forecast » mixins » CfnDatasetGroupPropsMixin |
Implements
IMixin
Extends
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.
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.
The
Statusof a dataset group must beACTIVEbefore you can use the dataset group to create a predictor. To get the status, use the DescribeDatasetGroup operation.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as forecast_mixins } from '@aws-cdk/mixins-preview/aws-forecast';
const cfnDatasetGroupPropsMixin = new forecast_mixins.CfnDatasetGroupPropsMixin({
datasetArns: ['datasetArns'],
datasetGroupName: 'datasetGroupName',
domain: 'domain',
tags: [{
key: 'key',
value: 'value',
}],
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnDatasetGroupPropsMixin(props: CfnDatasetGroupMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Dataset Group Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::Forecast::DatasetGroup.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript