# AWS::Forecast Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as forecast from 'aws-cdk-lib/aws-forecast';
```

Python:

```python
import aws_cdk.aws_forecast as forecast
```

Java:

```java
import software.amazon.awscdk.services.forecast.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.Forecast;
```

Golang:

```go
import forecast "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for Forecast construct libraries](https://constructs.dev/search?q=forecast)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Forecast resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Forecast.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Forecast.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnDataset`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_forecast.CfnDataset.html) Construct (L1) Creates an Amazon Forecast dataset.
- [`CfnDatasetGroup`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_forecast.CfnDatasetGroup.html) Construct (L1) Creates a dataset group, which holds a collection of related datasets.

### Structs

- [`CfnDataset.AttributesItemsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_forecast.CfnDataset.AttributesItemsProperty.html) Struct
- [`CfnDataset.EncryptionConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_forecast.CfnDataset.EncryptionConfigProperty.html) Struct An 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.SchemaProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_forecast.CfnDataset.SchemaProperty.html) Struct Defines the fields of a dataset.
- [`CfnDataset.TagsItemsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_forecast.CfnDataset.TagsItemsProperty.html) Struct A key-value pair to associate with a resource.
- [`CfnDatasetGroupProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_forecast.CfnDatasetGroupProps.html) Struct Properties for defining a `CfnDatasetGroup`.
- [`CfnDatasetProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_forecast.CfnDatasetProps.html) Struct Properties for defining a `CfnDataset`.
