Skip to content
v2.275.0

AWS::Forecast Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as forecast from 'aws-cdk-lib/aws-forecast';
python
import aws_cdk.aws_forecast as forecast
java
import software.amazon.awscdk.services.forecast.*;
csharp
using Amazon.CDK.AWS.Forecast;
go
import forecast "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::Forecast.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnDatasetConstruct (L1)Creates an Amazon Forecast dataset.
CfnDatasetGroupConstruct (L1)Creates a dataset group, which holds a collection of related datasets.
CfnDataset.AttributesItemsPropertyStruct
CfnDataset.EncryptionConfigPropertyStructAn AWS Key Management Service (KMS) key and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
CfnDataset.SchemaPropertyStructDefines the fields of a dataset.
CfnDataset.TagsItemsPropertyStructA key-value pair to associate with a resource.
CfnDatasetGroupPropsStructProperties for defining a CfnDatasetGroup.
CfnDatasetPropsStructProperties for defining a CfnDataset.