This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::IoTSiteWise::Dataset
Creates a dataset to connect an external datasource.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::IoTSiteWise::Dataset", "Properties" : { "DatasetConfig" :DatasetConfig, "DatasetDescription" :String, "DatasetName" :String, "DatasetSource" :DatasetSource, "DatasetType" :String, "Tags" :[ Tag, ... ], "WorkspaceName" :String} }
YAML
Type: AWS::IoTSiteWise::Dataset Properties: DatasetConfig:DatasetConfigDatasetDescription:StringDatasetName:StringDatasetSource:DatasetSourceDatasetType:StringTags:- TagWorkspaceName:String
Properties
DatasetConfig-
The configuration for the dataset. Provide the session configuration for a
SESSIONdataset.Required: No
Type: DatasetConfig
Update requires: No interruption
DatasetDescription-
A description about the dataset, and its functionality.
Required: No
Type: String
Update requires: No interruption
DatasetName-
The name of the dataset.
Required: Yes
Type: String
Update requires: No interruption
DatasetSource-
The data source for the dataset. This property is required for
EXTERNALdatasets (for example, an Amazon Kendra index) and is omitted for workspace-scopedSESSIONandCURATEDdatasets.Required: No
Type: DatasetSource
Update requires: No interruption
DatasetType-
The type of the dataset. Valid values:
-
SESSION: A workspace-scoped dataset backed by a time range of time-series data. SpecifyWorkspaceNameandDatasetConfig. -
CURATED: A workspace-scoped dataset whose data segments are curated through an interactive application workflow. SpecifyWorkspaceName. -
EXTERNAL: A dataset backed by an external knowledge base, such as an Amazon Kendra index. SpecifyDatasetSource.
You can't change the dataset type after you create the dataset. Changing this property requires replacing the resource.
Required: No
Type: String
Allowed values:
SESSION | CURATED | EXTERNALUpdate requires: Replacement
-
-
A list of key-value pairs that contain metadata for the access policy. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide.
Required: No
Type: Array of Tag
Update requires: No interruption
WorkspaceName-
The name of the workspace that the dataset belongs to. This property is required for workspace-scoped
SESSIONandCURATEDdatasets and is omitted forEXTERNALdatasets.You can't change the workspace after you create the dataset. Changing this property requires replacing the resource.
Required: No
Type: String
Pattern:
^[a-zA-Z0-9_-]+$Minimum:
1Maximum:
64Update requires: Replacement
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the DatasetId.
Fn::GetAtt
The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.