Interface CfnDatasetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDatasetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:46.317Z")
@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.personalize.*;
Object dataSource;
CfnDatasetProps cfnDatasetProps = CfnDatasetProps.builder()
.datasetGroupArn("datasetGroupArn")
.datasetType("datasetType")
.name("name")
.schemaArn("schemaArn")
// the properties below are optional
.datasetImportJob(DatasetImportJobProperty.builder()
.datasetArn("datasetArn")
.datasetImportJobArn("datasetImportJobArn")
.dataSource(dataSource)
.jobName("jobName")
.roleArn("roleArn")
.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()The Amazon Resource Name (ARN) of the dataset group.default ObjectDescribes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.One of the following values:.getName()The name of the dataset.The ARN of the associated schema.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDatasetGroupArn
The Amazon Resource Name (ARN) of the dataset group.- See Also:
-
getDatasetType
One of the following values:.- Interactions
- Items
- Users
You can't use CloudFormation to create an Action Interactions or Actions dataset.
- See Also:
-
getName
The name of the dataset.- See Also:
-
getSchemaArn
The ARN of the associated schema.- See Also:
-
getDatasetImportJob
Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.If you specify a dataset import job as part of a dataset, all dataset import job fields are required.
Returns union: either
IResolvableorCfnDataset.DatasetImportJobProperty- See Also:
-
builder
- Returns:
- a
CfnDatasetProps.BuilderofCfnDatasetProps
-