Class CfnDatasetProps
Properties for defining a CfnDataset
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.IoTSiteWise
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDatasetProps : ICfnDatasetProps
Syntax (vb)
Public Class CfnDatasetProps Implements ICfnDatasetProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTSiteWise;
var cfnDatasetProps = new CfnDatasetProps {
DatasetName = "datasetName",
DatasetSource = new DatasetSourceProperty {
SourceFormat = "sourceFormat",
SourceType = "sourceType",
// the properties below are optional
SourceDetail = new SourceDetailProperty {
Kendra = new KendraSourceDetailProperty {
KnowledgeBaseArn = "knowledgeBaseArn",
RoleArn = "roleArn"
}
}
},
// the properties below are optional
DatasetDescription = "datasetDescription",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnDatasetProps() | Properties for defining a |
Properties
DatasetDescription | A description about the dataset, and its functionality. |
DatasetName | The name of the dataset. |
DatasetSource | Properties for defining a |
Tags | An array of key-value pairs to apply to this resource. |
Constructors
CfnDatasetProps()
Properties for defining a CfnDataset
.
public CfnDatasetProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-dataset.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTSiteWise;
var cfnDatasetProps = new CfnDatasetProps {
DatasetName = "datasetName",
DatasetSource = new DatasetSourceProperty {
SourceFormat = "sourceFormat",
SourceType = "sourceType",
// the properties below are optional
SourceDetail = new SourceDetailProperty {
Kendra = new KendraSourceDetailProperty {
KnowledgeBaseArn = "knowledgeBaseArn",
RoleArn = "roleArn"
}
}
},
// the properties below are optional
DatasetDescription = "datasetDescription",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
DatasetDescription
A description about the dataset, and its functionality.
public string? DatasetDescription { get; set; }
Property Value
Remarks
DatasetName
The name of the dataset.
public string DatasetName { get; set; }
Property Value
Remarks
DatasetSource
Properties for defining a CfnDataset
.
public object DatasetSource { get; set; }
Property Value
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]