Class CfnDataset
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.iotsitewise.CfnDataset
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-02T11:25:33.326Z")
@Stability(Stable)
public class CfnDataset
extends CfnResource
implements IInspectable, ITaggableV2
Creates a dataset to connect an external datasource.
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.*; CfnDataset cfnDataset = CfnDataset.Builder.create(this, "MyCfnDataset") .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 TypeClassDescriptionstatic final class
A fluent builder forCfnDataset
.static interface
The data source for the dataset.static interface
The source details for the Kendra dataset source.static interface
The details of the dataset source associated with the dataset.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnDataset
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnDataset
(software.amazon.jsii.JsiiObjectRef objRef) CfnDataset
(software.constructs.Construct scope, String id, CfnDatasetProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the dataset, which has the following format.The ID of the dataset.Tag Manager which manages the tags for this resource.A 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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDatasetDescription
(String value) A description about the dataset, and its functionality.void
setDatasetName
(String value) The name of the dataset.void
setDatasetSource
(IResolvable value) The data source for the dataset.void
The data source for the dataset.void
A list of key-value pairs that contain metadata for the access policy.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDataset
protected CfnDataset(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDataset
protected CfnDataset(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDataset
@Stability(Stable) public CfnDataset(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDatasetProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrDatasetArn
The ARN of the dataset, which has the following format.arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}
-
getAttrDatasetId
The ID of the dataset. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getDatasetName
The name of the dataset. -
setDatasetName
The name of the dataset. -
getDatasetSource
The data source for the dataset. -
setDatasetSource
The data source for the dataset. -
setDatasetSource
The data source for the dataset. -
getDatasetDescription
A description about the dataset, and its functionality. -
setDatasetDescription
A description about the dataset, and its functionality. -
getTags
A list of key-value pairs that contain metadata for the access policy. -
setTags
A list of key-value pairs that contain metadata for the access policy.
-