Interface CfnDatasetMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDatasetMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.forecast.*;
Object encryptionConfig;
Object schema;
CfnDatasetMixinProps cfnDatasetMixinProps = CfnDatasetMixinProps.builder()
.dataFrequency("dataFrequency")
.datasetName("datasetName")
.datasetType("datasetType")
.domain("domain")
.encryptionConfig(encryptionConfig)
.schema(schema)
.tags(List.of(TagsItemsProperty.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDatasetMixinPropsstatic final classAn implementation forCfnDatasetMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDatasetMixinProps.Builderbuilder()default StringThe frequency of data collection.default StringThe name of the dataset.default StringThe dataset type.default StringThe domain associated with the dataset.default ObjectA Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.default ObjectThe schema for the dataset.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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".
- See Also:
-
getDatasetName
The name of the dataset.- See Also:
-
getDatasetType
The dataset type.- See Also:
-
getDomain
The domain associated with the dataset.- See Also:
-
getEncryptionConfig
A Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.- See Also:
-
getSchema
The schema for the dataset.The schema attributes and their order must match the fields in your data. The dataset
DomainandDatasetTypethat 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 .- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnDatasetMixinProps.BuilderofCfnDatasetMixinProps
-