We recommend new projects start with resources from the AWS provider.
aws-native.forecast.Dataset
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type Definition for AWS::Forecast::Dataset
Create Dataset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Dataset(name: string, args: DatasetArgs, opts?: CustomResourceOptions);@overload
def Dataset(resource_name: str,
            args: DatasetArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Dataset(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            dataset_type: Optional[DatasetType] = None,
            domain: Optional[DatasetDomain] = None,
            schema: Optional[SchemaPropertiesArgs] = None,
            data_frequency: Optional[str] = None,
            dataset_name: Optional[str] = None,
            encryption_config: Optional[EncryptionConfigPropertiesArgs] = None,
            tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewDataset(ctx *Context, name string, args DatasetArgs, opts ...ResourceOption) (*Dataset, error)public Dataset(string name, DatasetArgs args, CustomResourceOptions? opts = null)
public Dataset(String name, DatasetArgs args)
public Dataset(String name, DatasetArgs args, CustomResourceOptions options)
type: aws-native:forecast:Dataset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatasetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Dataset Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Dataset resource accepts the following input properties:
- DatasetType Pulumi.Aws Native. Forecast. Dataset Type 
- The dataset type
- Domain
Pulumi.Aws Native. Forecast. Dataset Domain 
- The domain associated with the dataset
- Schema
Pulumi.Aws Native. Forecast. Inputs. Schema Properties 
- 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 .
- DataFrequency string
- Frequency of data collection. This parameter is required for RELATED_TIME_SERIES
- DatasetName string
- A name for the dataset
- EncryptionConfig Pulumi.Aws Native. Forecast. Inputs. Encryption Config Properties 
- A Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- DatasetType DatasetType 
- The dataset type
- Domain
DatasetDomain 
- The domain associated with the dataset
- Schema
SchemaProperties Args 
- 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 .
- DataFrequency string
- Frequency of data collection. This parameter is required for RELATED_TIME_SERIES
- DatasetName string
- A name for the dataset
- EncryptionConfig EncryptionConfig Properties Args 
- A Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
- 
TagArgs 
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- datasetType DatasetType 
- The dataset type
- domain
DatasetDomain 
- The domain associated with the dataset
- schema
SchemaProperties 
- 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 .
- dataFrequency String
- Frequency of data collection. This parameter is required for RELATED_TIME_SERIES
- datasetName String
- A name for the dataset
- encryptionConfig EncryptionConfig Properties 
- A Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
- List<Tag>
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- datasetType DatasetType 
- The dataset type
- domain
DatasetDomain 
- The domain associated with the dataset
- schema
SchemaProperties 
- 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 .
- dataFrequency string
- Frequency of data collection. This parameter is required for RELATED_TIME_SERIES
- datasetName string
- A name for the dataset
- encryptionConfig EncryptionConfig Properties 
- A Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
- Tag[]
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- dataset_type DatasetType 
- The dataset type
- domain
DatasetDomain 
- The domain associated with the dataset
- schema
SchemaProperties Args 
- 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 .
- data_frequency str
- Frequency of data collection. This parameter is required for RELATED_TIME_SERIES
- dataset_name str
- A name for the dataset
- encryption_config EncryptionConfig Properties Args 
- A Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- datasetType "TARGET_TIME_SERIES" | "RELATED_TIME_SERIES" | "ITEM_METADATA"
- The dataset type
- domain "RETAIL" | "CUSTOM" | "INVENTORY_PLANNING" | "EC2_CAPACITY" | "WORK_FORCE" | "WEB_TRAFFIC" | "METRICS"
- The domain associated with the dataset
- schema Property Map
- 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 .
- dataFrequency String
- Frequency of data collection. This parameter is required for RELATED_TIME_SERIES
- datasetName String
- A name for the dataset
- encryptionConfig Property Map
- A Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
- List<Property Map>
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
Outputs
All input properties are implicitly available as output properties. Additionally, the Dataset resource produces the following output properties:
Supporting Types
DatasetAttributesItemProperties, DatasetAttributesItemPropertiesArgs        
- AttributeName string
- Name of the dataset field
- AttributeType Pulumi.Aws Native. Forecast. Dataset Attributes Item Properties Attribute Type 
- Data type of the field
- AttributeName string
- Name of the dataset field
- AttributeType DatasetAttributes Item Properties Attribute Type 
- Data type of the field
- attributeName String
- Name of the dataset field
- attributeType DatasetAttributes Item Properties Attribute Type 
- Data type of the field
- attributeName string
- Name of the dataset field
- attributeType DatasetAttributes Item Properties Attribute Type 
- Data type of the field
- attribute_name str
- Name of the dataset field
- attribute_type DatasetAttributes Item Properties Attribute Type 
- Data type of the field
- attributeName String
- Name of the dataset field
- attributeType "string" | "integer" | "float" | "timestamp" | "geolocation"
- Data type of the field
DatasetAttributesItemPropertiesAttributeType, DatasetAttributesItemPropertiesAttributeTypeArgs            
- String
- string
- Integer
- integer
- Float
- float
- Timestamp
- timestamp
- Geolocation
- geolocation
- DatasetAttributes Item Properties Attribute Type String 
- string
- DatasetAttributes Item Properties Attribute Type Integer 
- integer
- DatasetAttributes Item Properties Attribute Type Float 
- float
- DatasetAttributes Item Properties Attribute Type Timestamp 
- timestamp
- DatasetAttributes Item Properties Attribute Type Geolocation 
- geolocation
- String
- string
- Integer
- integer
- Float
- float
- Timestamp
- timestamp
- Geolocation
- geolocation
- String
- string
- Integer
- integer
- Float
- float
- Timestamp
- timestamp
- Geolocation
- geolocation
- STRING
- string
- INTEGER
- integer
- FLOAT
- float
- TIMESTAMP
- timestamp
- GEOLOCATION
- geolocation
- "string"
- string
- "integer"
- integer
- "float"
- float
- "timestamp"
- timestamp
- "geolocation"
- geolocation
DatasetDomain, DatasetDomainArgs    
- Retail
- RETAIL
- Custom
- CUSTOM
- InventoryPlanning 
- INVENTORY_PLANNING
- Ec2Capacity
- EC2_CAPACITY
- WorkForce 
- WORK_FORCE
- WebTraffic 
- WEB_TRAFFIC
- Metrics
- METRICS
- DatasetDomain Retail 
- RETAIL
- DatasetDomain Custom 
- CUSTOM
- DatasetDomain Inventory Planning 
- INVENTORY_PLANNING
- DatasetDomain Ec2Capacity 
- EC2_CAPACITY
- DatasetDomain Work Force 
- WORK_FORCE
- DatasetDomain Web Traffic 
- WEB_TRAFFIC
- DatasetDomain Metrics 
- METRICS
- Retail
- RETAIL
- Custom
- CUSTOM
- InventoryPlanning 
- INVENTORY_PLANNING
- Ec2Capacity
- EC2_CAPACITY
- WorkForce 
- WORK_FORCE
- WebTraffic 
- WEB_TRAFFIC
- Metrics
- METRICS
- Retail
- RETAIL
- Custom
- CUSTOM
- InventoryPlanning 
- INVENTORY_PLANNING
- Ec2Capacity
- EC2_CAPACITY
- WorkForce 
- WORK_FORCE
- WebTraffic 
- WEB_TRAFFIC
- Metrics
- METRICS
- RETAIL
- RETAIL
- CUSTOM
- CUSTOM
- INVENTORY_PLANNING
- INVENTORY_PLANNING
- EC2_CAPACITY
- EC2_CAPACITY
- WORK_FORCE
- WORK_FORCE
- WEB_TRAFFIC
- WEB_TRAFFIC
- METRICS
- METRICS
- "RETAIL"
- RETAIL
- "CUSTOM"
- CUSTOM
- "INVENTORY_PLANNING"
- INVENTORY_PLANNING
- "EC2_CAPACITY"
- EC2_CAPACITY
- "WORK_FORCE"
- WORK_FORCE
- "WEB_TRAFFIC"
- WEB_TRAFFIC
- "METRICS"
- METRICS
DatasetType, DatasetTypeArgs    
- TargetTime Series 
- TARGET_TIME_SERIES
- RelatedTime Series 
- RELATED_TIME_SERIES
- ItemMetadata 
- ITEM_METADATA
- DatasetType Target Time Series 
- TARGET_TIME_SERIES
- DatasetType Related Time Series 
- RELATED_TIME_SERIES
- DatasetType Item Metadata 
- ITEM_METADATA
- TargetTime Series 
- TARGET_TIME_SERIES
- RelatedTime Series 
- RELATED_TIME_SERIES
- ItemMetadata 
- ITEM_METADATA
- TargetTime Series 
- TARGET_TIME_SERIES
- RelatedTime Series 
- RELATED_TIME_SERIES
- ItemMetadata 
- ITEM_METADATA
- TARGET_TIME_SERIES
- TARGET_TIME_SERIES
- RELATED_TIME_SERIES
- RELATED_TIME_SERIES
- ITEM_METADATA
- ITEM_METADATA
- "TARGET_TIME_SERIES"
- TARGET_TIME_SERIES
- "RELATED_TIME_SERIES"
- RELATED_TIME_SERIES
- "ITEM_METADATA"
- ITEM_METADATA
EncryptionConfigProperties, EncryptionConfigPropertiesArgs      
- kms_key_ strarn 
- The Amazon Resource Name (ARN) of the KMS key.
- role_arn str
- The ARN of the IAM role that Amazon Forecast can assume to access the AWS KMS key. - Passing a role across AWS accounts is not allowed. If you pass a role that isn't in your account, you get an - InvalidInputExceptionerror.
SchemaProperties, SchemaPropertiesArgs    
- Attributes
List<Pulumi.Aws Native. Forecast. Inputs. Dataset Attributes Item Properties> 
- An array of attributes specifying the name and type of each field in a dataset.
- Attributes
[]DatasetAttributes Item Properties 
- An array of attributes specifying the name and type of each field in a dataset.
- attributes
List<DatasetAttributes Item Properties> 
- An array of attributes specifying the name and type of each field in a dataset.
- attributes
DatasetAttributes Item Properties[] 
- An array of attributes specifying the name and type of each field in a dataset.
- attributes
Sequence[DatasetAttributes Item Properties] 
- An array of attributes specifying the name and type of each field in a dataset.
- attributes List<Property Map>
- An array of attributes specifying the name and type of each field in a dataset.
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.