Interface CfnDatasetProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.810Z") @Stability(Stable) public interface CfnDatasetProps extends
Properties for defining a CfnDataset.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Object encryptionConfig;
 Object schema;
 CfnDatasetProps cfnDatasetProps = CfnDatasetProps.builder()
         // the properties below are optional
  • Method Details

    • getDatasetName

      @Stability(Stable) @NotNull String getDatasetName()
      The name of the dataset.
    • getDatasetType

      @Stability(Stable) @NotNull String getDatasetType()
      The dataset type.
    • getDomain

      @Stability(Stable) @NotNull String getDomain()
      The domain associated with the dataset.
    • getSchema

      @Stability(Stable) @NotNull Object getSchema()
      The schema for the dataset.

      The schema attributes and their order must match the fields in your data. The dataset Domain and DatasetType that you choose determine the minimum required fields in your training data. For information about the required fields for a specific dataset domain and type, see Dataset Domains and Dataset Types .

    • getDataFrequency

      @Stability(Stable) @Nullable default String getDataFrequency()
      The frequency of data collection. This parameter is required for RELATED_TIME_SERIES datasets.

      Valid intervals are an integer followed by Y (Year), M (Month), W (Week), D (Day), H (Hour), and min (Minute). For example, "1D" indicates every day and "15min" indicates every 15 minutes. You cannot specify a value that would overlap with the next larger frequency. That means, for example, you cannot specify a frequency of 60 minutes, because that is equivalent to 1 hour. The valid values for each frequency are the following:

      • Minute - 1-59
      • Hour - 1-23
      • Day - 1-6
      • Week - 1-4
      • Month - 1-11
      • Year - 1

      Thus, if you want every other week forecasts, specify "2W". Or, if you want quarterly forecasts, you specify "3M".

    • getEncryptionConfig

      @Stability(Stable) @Nullable default Object getEncryptionConfig()
      A Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
    • getTags

      @Stability(Stable) @Nullable default List<CfnDataset.TagsItemsProperty> getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

    • builder

      @Stability(Stable) static CfnDatasetProps.Builder builder()
      a CfnDatasetProps.Builder of CfnDatasetProps