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:
- Dataset
Type 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
Domain
andDatasetType
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 . - Data
Frequency string - Frequency of data collection. This parameter is required for RELATED_TIME_SERIES
- Dataset
Name string - A name for the dataset
- Encryption
Config 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 .
- Dataset
Type DatasetType - The dataset type
- Domain
Dataset
Domain - The domain associated with the dataset
- Schema
Schema
Properties Args - The schema for the dataset. The schema attributes and their order must match the fields in your data. The dataset
Domain
andDatasetType
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 . - Data
Frequency string - Frequency of data collection. This parameter is required for RELATED_TIME_SERIES
- Dataset
Name string - 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.
- Tag
Args An array of key-value pairs to apply to this resource.
For more information, see Tag .
- dataset
Type DatasetType - The dataset type
- domain
Dataset
Domain - The domain associated with the dataset
- schema
Schema
Properties - The schema for the dataset. The schema attributes and their order must match the fields in your data. The dataset
Domain
andDatasetType
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 . - data
Frequency String - Frequency of data collection. This parameter is required for RELATED_TIME_SERIES
- dataset
Name String - A name for the dataset
- encryption
Config 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 .
- dataset
Type DatasetType - The dataset type
- domain
Dataset
Domain - The domain associated with the dataset
- schema
Schema
Properties - The schema for the dataset. The schema attributes and their order must match the fields in your data. The dataset
Domain
andDatasetType
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 . - data
Frequency string - Frequency of data collection. This parameter is required for RELATED_TIME_SERIES
- dataset
Name string - A name for the dataset
- encryption
Config 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
Dataset
Domain - The domain associated with the dataset
- schema
Schema
Properties Args - The schema for the dataset. The schema attributes and their order must match the fields in your data. The dataset
Domain
andDatasetType
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 . - 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[Tag
Args] An array of key-value pairs to apply to this resource.
For more information, see Tag .
- dataset
Type "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
Domain
andDatasetType
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 . - data
Frequency String - Frequency of data collection. This parameter is required for RELATED_TIME_SERIES
- dataset
Name String - A name for the dataset
- encryption
Config 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
- Attribute
Name string - Name of the dataset field
- Attribute
Type Pulumi.Aws Native. Forecast. Dataset Attributes Item Properties Attribute Type - Data type of the field
- Attribute
Name string - Name of the dataset field
- Attribute
Type DatasetAttributes Item Properties Attribute Type - Data type of the field
- attribute
Name String - Name of the dataset field
- attribute
Type DatasetAttributes Item Properties Attribute Type - Data type of the field
- attribute
Name string - Name of the dataset field
- attribute
Type 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
- attribute
Name String - Name of the dataset field
- attribute
Type "string" | "integer" | "float" | "timestamp" | "geolocation" - Data type of the field
DatasetAttributesItemPropertiesAttributeType, DatasetAttributesItemPropertiesAttributeTypeArgs
- String
- string
- Integer
- integer
- Float
- float
- Timestamp
- timestamp
- Geolocation
- geolocation
- Dataset
Attributes Item Properties Attribute Type String - string
- Dataset
Attributes Item Properties Attribute Type Integer - integer
- Dataset
Attributes Item Properties Attribute Type Float - float
- Dataset
Attributes Item Properties Attribute Type Timestamp - timestamp
- Dataset
Attributes 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
- Inventory
Planning - INVENTORY_PLANNING
- Ec2Capacity
- EC2_CAPACITY
- Work
Force - WORK_FORCE
- Web
Traffic - WEB_TRAFFIC
- Metrics
- METRICS
- Dataset
Domain Retail - RETAIL
- Dataset
Domain Custom - CUSTOM
- Dataset
Domain Inventory Planning - INVENTORY_PLANNING
- Dataset
Domain Ec2Capacity - EC2_CAPACITY
- Dataset
Domain Work Force - WORK_FORCE
- Dataset
Domain Web Traffic - WEB_TRAFFIC
- Dataset
Domain Metrics - METRICS
- Retail
- RETAIL
- Custom
- CUSTOM
- Inventory
Planning - INVENTORY_PLANNING
- Ec2Capacity
- EC2_CAPACITY
- Work
Force - WORK_FORCE
- Web
Traffic - WEB_TRAFFIC
- Metrics
- METRICS
- Retail
- RETAIL
- Custom
- CUSTOM
- Inventory
Planning - INVENTORY_PLANNING
- Ec2Capacity
- 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
- "RETAIL"
- RETAIL
- "CUSTOM"
- CUSTOM
- "INVENTORY_PLANNING"
- INVENTORY_PLANNING
- "EC2_CAPACITY"
- EC2_CAPACITY
- "WORK_FORCE"
- WORK_FORCE
- "WEB_TRAFFIC"
- WEB_TRAFFIC
- "METRICS"
- METRICS
DatasetType, DatasetTypeArgs
- Target
Time Series - TARGET_TIME_SERIES
- Related
Time Series - RELATED_TIME_SERIES
- Item
Metadata - ITEM_METADATA
- Dataset
Type Target Time Series - TARGET_TIME_SERIES
- Dataset
Type Related Time Series - RELATED_TIME_SERIES
- Dataset
Type Item Metadata - 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
- 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
InvalidInputException
error.
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
[]Dataset
Attributes Item Properties - An array of attributes specifying the name and type of each field in a dataset.
- attributes
List<Dataset
Attributes Item Properties> - An array of attributes specifying the name and type of each field in a dataset.
- attributes
Dataset
Attributes Item Properties[] - An array of attributes specifying the name and type of each field in a dataset.
- attributes
Sequence[Dataset
Attributes 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.