Interface CfnDatasetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDatasetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:38.505Z")
@Stability(Stable)
public interface CfnDatasetProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDataset.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotsitewise.*;
CfnDatasetProps cfnDatasetProps = CfnDatasetProps.builder()
.datasetName("datasetName")
.datasetSource(DatasetSourceProperty.builder()
.sourceFormat("sourceFormat")
.sourceType("sourceType")
// the properties below are optional
.sourceDetail(SourceDetailProperty.builder()
.kendra(KendraSourceDetailProperty.builder()
.knowledgeBaseArn("knowledgeBaseArn")
.roleArn("roleArn")
.build())
.build())
.build())
// the properties below are optional
.datasetDescription("datasetDescription")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDatasetPropsstatic final classAn implementation forCfnDatasetProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDatasetProps.Builderbuilder()default StringA description about the dataset, and its functionality.The name of the dataset.The data source for the dataset.getTags()A list of key-value pairs that contain metadata for the access policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDatasetName
The name of the dataset.- See Also:
-
getDatasetSource
The data source for the dataset.Returns union: either
IResolvableorCfnDataset.DatasetSourceProperty- See Also:
-
getDatasetDescription
A description about the dataset, and its functionality.- See Also:
-
getTags
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 Also:
-
builder
- Returns:
- a
CfnDatasetProps.BuilderofCfnDatasetProps
-