Interface CfnDatasetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDatasetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:11.768Z")
@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.scn.*;
CfnDatasetProps cfnDatasetProps = CfnDatasetProps.builder()
.instanceId("instanceId")
.name("name")
.namespace("namespace")
// the properties below are optional
.description("description")
.partitionSpec(PartitionSpecProperty.builder()
.fields(List.of(DataLakeDatasetPartitionFieldProperty.builder()
.name("name")
.transform(TransformProperty.builder()
.type("type")
.build())
.build()))
.build())
.schema(SchemaProperty.builder()
.fields(List.of(DataLakeDatasetSchemaFieldProperty.builder()
.isRequired(false)
.name("name")
.type("type")
.build()))
.name("name")
// the properties below are optional
.primaryKeys(List.of(DataLakeDatasetPrimaryKeyFieldProperty.builder()
.name("name")
.build()))
.build())
.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 StringThe description of the dataset.The Amazon Web Services Supply Chain instance identifier.getName()The name of the dataset.The namespace of the dataset.default ObjectThe partition specification of the dataset.default ObjectThe schema of the dataset.getTags()The tags for the dataset.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceId
The Amazon Web Services Supply Chain instance identifier.- See Also:
-
getName
The name of the dataset.- See Also:
-
getNamespace
The namespace of the dataset.- See Also:
-
getDescription
The description of the dataset.- See Also:
-
getPartitionSpec
The partition specification of the dataset.Returns union: either
IResolvableorCfnDataset.PartitionSpecProperty- See Also:
-
getSchema
The schema of the dataset.Returns union: either
IResolvableorCfnDataset.SchemaProperty- See Also:
-
getTags
The tags for the dataset.- See Also:
-
builder
- Returns:
- a
CfnDatasetProps.BuilderofCfnDatasetProps
-