CfnDatasetProps

class aws_cdk.aws_iotsitewise.CfnDatasetProps(*, dataset_name, dataset_config=None, dataset_description=None, dataset_source=None, dataset_type=None, tags=None, workspace_name=None)

Bases: object

Properties for defining a CfnDataset.

Parameters:
  • dataset_name (str) – The name of the dataset.

  • dataset_config (Union[IResolvable, DatasetConfigProperty, Dict[str, Any], None])

  • dataset_description (Optional[str]) – A description about the dataset, and its functionality.

  • dataset_source (Union[IResolvable, DatasetSourceProperty, Dict[str, Any], None]) – The data source for the dataset.

  • dataset_type (Optional[str]) – The type of the dataset.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – 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 .

  • workspace_name (Optional[str]) – The name of the workspace associated with the dataset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotsitewise as iotsitewise

cfn_dataset_props = iotsitewise.CfnDatasetProps(
    dataset_name="datasetName",

    # the properties below are optional
    dataset_config=iotsitewise.CfnDataset.DatasetConfigProperty(
        session=iotsitewise.CfnDataset.SessionConfigProperty(
            session_end_time="sessionEndTime",
            session_start_time="sessionStartTime"
        )
    ),
    dataset_description="datasetDescription",
    dataset_source=iotsitewise.CfnDataset.DatasetSourceProperty(
        source_format="sourceFormat",
        source_type="sourceType",

        # the properties below are optional
        source_detail=iotsitewise.CfnDataset.SourceDetailProperty(
            kendra=iotsitewise.CfnDataset.KendraSourceDetailProperty(
                knowledge_base_arn="knowledgeBaseArn",
                role_arn="roleArn"
            )
        )
    ),
    dataset_type="datasetType",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    workspace_name="workspaceName"
)

Attributes

dataset_config

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html#cfn-iotsitewise-dataset-datasetconfig

Type:

see

dataset_description

A description about the dataset, and its functionality.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html#cfn-iotsitewise-dataset-datasetdescription

dataset_name

The name of the dataset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html#cfn-iotsitewise-dataset-datasetname

dataset_source

The data source for the dataset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html#cfn-iotsitewise-dataset-datasetsource

dataset_type

The type of the dataset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html#cfn-iotsitewise-dataset-datasettype

tags

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 .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html#cfn-iotsitewise-dataset-tags

workspace_name

The name of the workspace associated with the dataset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html#cfn-iotsitewise-dataset-workspacename