Resource schema for AWS::IoTSiteWise::Dataset.
Create Dataset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def Dataset(resource_name: str,
args: Optional[DatasetArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Dataset(resource_name: str,
opts: Optional[ResourceOptions] = None,
dataset_config: Optional[DatasetConfigArgs] = None,
dataset_description: Optional[str] = None,
dataset_name: Optional[str] = None,
dataset_source: Optional[DatasetSourceArgs] = None,
dataset_type: Optional[DatasetType] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
workspace_name: Optional[str] = None)
public Dataset(String name, DatasetArgs args)
public Dataset(String name, DatasetArgs args, CustomResourceOptions options)
type: aws-native:iotsitewise:Dataset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_iotsitewise_dataset" "name" {
# resource properties
}
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.
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:
Outputs
All input properties are implicitly available as output properties. Additionally, the Dataset resource produces the following output properties:
- DatasetArn
string
- The ARN of the dataset.
- DatasetId
string
- The ID of the dataset. For workspace-scoped datasets this is the workspace name and dataset ID joined by a slash, for example my-workspace/123e4567-e89b-42d3-a456-426614174000.
- Id
string
- The provider-assigned unique ID for this managed resource.
- DatasetArn
string
- The ARN of the dataset.
- DatasetId
string
- The ID of the dataset. For workspace-scoped datasets this is the workspace name and dataset ID joined by a slash, for example my-workspace/123e4567-e89b-42d3-a456-426614174000.
- Id
string
- The provider-assigned unique ID for this managed resource.
- dataset_arn
string
- The ARN of the dataset.
- dataset_id
string
- The ID of the dataset. For workspace-scoped datasets this is the workspace name and dataset ID joined by a slash, for example my-workspace/123e4567-e89b-42d3-a456-426614174000.
- id
string
- The provider-assigned unique ID for this managed resource.
- datasetArn
String
- The ARN of the dataset.
- datasetId
String
- The ID of the dataset. For workspace-scoped datasets this is the workspace name and dataset ID joined by a slash, for example my-workspace/123e4567-e89b-42d3-a456-426614174000.
- id
String
- The provider-assigned unique ID for this managed resource.
- datasetArn
string
- The ARN of the dataset.
- datasetId
string
- The ID of the dataset. For workspace-scoped datasets this is the workspace name and dataset ID joined by a slash, for example my-workspace/123e4567-e89b-42d3-a456-426614174000.
- id
string
- The provider-assigned unique ID for this managed resource.
- dataset_arn
str
- The ARN of the dataset.
- dataset_id
str
- The ID of the dataset. For workspace-scoped datasets this is the workspace name and dataset ID joined by a slash, for example my-workspace/123e4567-e89b-42d3-a456-426614174000.
- id
str
- The provider-assigned unique ID for this managed resource.
- datasetArn
String
- The ARN of the dataset.
- datasetId
String
- The ID of the dataset. For workspace-scoped datasets this is the workspace name and dataset ID joined by a slash, for example my-workspace/123e4567-e89b-42d3-a456-426614174000.
- id
String
- The provider-assigned unique ID for this managed resource.
Look up Existing Dataset Resource
Get an existing Dataset resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static Dataset get(String name, Output<String> id, CustomResourceOptions options)
resources: existingDataset: type: aws-native:iotsitewise:Dataset get: id: ${id}
import {
to = aws-native_iotsitewise_dataset.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
DatasetState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
DatasetConfig, DatasetConfigArgs
DatasetKendraSourceDetail, DatasetKendraSourceDetailArgs
- KnowledgeBaseArn
string
- The knowledgeBaseArn details for the Kendra dataset source.
- RoleArn
string
- The roleARN details for the Kendra dataset source.
- KnowledgeBaseArn
string
- The knowledgeBaseArn details for the Kendra dataset source.
- RoleArn
string
- The roleARN details for the Kendra dataset source.
- knowledge_base_arn
string
- The knowledgeBaseArn details for the Kendra dataset source.
- role_arn
string
- The roleARN details for the Kendra dataset source.
- knowledgeBaseArn
String
- The knowledgeBaseArn details for the Kendra dataset source.
- roleArn
String
- The roleARN details for the Kendra dataset source.
- knowledgeBaseArn
string
- The knowledgeBaseArn details for the Kendra dataset source.
- roleArn
string
- The roleARN details for the Kendra dataset source.
- knowledge_base_arn
str
- The knowledgeBaseArn details for the Kendra dataset source.
- role_arn
str
- The roleARN details for the Kendra dataset source.
- knowledgeBaseArn
String
- The knowledgeBaseArn details for the Kendra dataset source.
- roleArn
String
- The roleARN details for the Kendra dataset source.
DatasetSessionConfig, DatasetSessionConfigArgs
- SessionEndTime
string
- The end time of the session as an ISO 8601 UTC instant, for example 2024-12-31T23:59:59Z.
- SessionStartTime
string
- The start time of the session as an ISO 8601 UTC instant, for example 2024-01-01T00:00:00Z.
- SessionEndTime
string
- The end time of the session as an ISO 8601 UTC instant, for example 2024-12-31T23:59:59Z.
- SessionStartTime
string
- The start time of the session as an ISO 8601 UTC instant, for example 2024-01-01T00:00:00Z.
- session_end_time
string
- The end time of the session as an ISO 8601 UTC instant, for example 2024-12-31T23:59:59Z.
- session_start_time
string
- The start time of the session as an ISO 8601 UTC instant, for example 2024-01-01T00:00:00Z.
- sessionEndTime
String
- The end time of the session as an ISO 8601 UTC instant, for example 2024-12-31T23:59:59Z.
- sessionStartTime
String
- The start time of the session as an ISO 8601 UTC instant, for example 2024-01-01T00:00:00Z.
- sessionEndTime
string
- The end time of the session as an ISO 8601 UTC instant, for example 2024-12-31T23:59:59Z.
- sessionStartTime
string
- The start time of the session as an ISO 8601 UTC instant, for example 2024-01-01T00:00:00Z.
- session_end_time
str
- The end time of the session as an ISO 8601 UTC instant, for example 2024-12-31T23:59:59Z.
- session_start_time
str
- The start time of the session as an ISO 8601 UTC instant, for example 2024-01-01T00:00:00Z.
- sessionEndTime
String
- The end time of the session as an ISO 8601 UTC instant, for example 2024-12-31T23:59:59Z.
- sessionStartTime
String
- The start time of the session as an ISO 8601 UTC instant, for example 2024-01-01T00:00:00Z.
DatasetSource, DatasetSourceArgs
DatasetSourceDetail, DatasetSourceDetailArgs
- kendra
object
- Contains details about the Kendra dataset source.
The format of the dataset source associated with the dataset.| Name | Value |
|---|
| KnowledgeBase | KNOWLEDGE_BASE |
| Timeseries | TIMESERIES |
| Name | Value |
|---|
| DatasetSourceSourceFormatKnowledgeBase | KNOWLEDGE_BASE |
| DatasetSourceSourceFormatTimeseries | TIMESERIES |
| Value |
|---|
KNOWLEDGE_BASE |
TIMESERIES |
| Name | Value |
|---|
| KnowledgeBase | KNOWLEDGE_BASE |
| Timeseries | TIMESERIES |
| Name | Value |
|---|
| KnowledgeBase | KNOWLEDGE_BASE |
| Timeseries | TIMESERIES |
| Name | Value |
|---|
| KNOWLEDGE_BASE | KNOWLEDGE_BASE |
| TIMESERIES | TIMESERIES |
| Value |
|---|
KNOWLEDGE_BASE |
TIMESERIES |
DatasetSourceSourceType, DatasetSourceSourceTypeArgs
The type of data source for the dataset.| Name | Value |
|---|
| Kendra | KENDRA |
| Sitewise | SITEWISE |
| Name | Value |
|---|
| DatasetSourceSourceTypeKendra | KENDRA |
| DatasetSourceSourceTypeSitewise | SITEWISE |
| Name | Value |
|---|
| Kendra | KENDRA |
| Sitewise | SITEWISE |
| Name | Value |
|---|
| Kendra | KENDRA |
| Sitewise | SITEWISE |
| Name | Value |
|---|
| KENDRA | KENDRA |
| SITEWISE | SITEWISE |
DatasetType, DatasetTypeArgs
The type of the dataset.| Name | Value |
|---|
| Session | SESSION |
| Curated | CURATED |
| External | EXTERNAL |
| Name | Value |
|---|
| DatasetTypeSession | SESSION |
| DatasetTypeCurated | CURATED |
| DatasetTypeExternal | EXTERNAL |
| Value |
|---|
SESSION |
CURATED |
EXTERNAL |
| Name | Value |
|---|
| Session | SESSION |
| Curated | CURATED |
| External | EXTERNAL |
| Name | Value |
|---|
| Session | SESSION |
| Curated | CURATED |
| External | EXTERNAL |
| Name | Value |
|---|
| SESSION | SESSION |
| CURATED | CURATED |
| EXTERNAL | EXTERNAL |
| Value |
|---|
SESSION |
CURATED |
EXTERNAL |
Tag, TagArgs
A set of tags to apply to the resource.- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
str
- The key name of the tag
- value
str
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0