Skip to content
v2.276.0

DatasetReference Struct ​

A reference to a Dataset resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_personalize as interfaces_personalize } from 'aws-cdk-lib/interfaces';
const datasetReference: interfaces_personalize.DatasetReference = {
  datasetArn: 'datasetArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_personalize as interfaces_personalize

dataset_reference = interfaces_personalize.DatasetReference(
    dataset_arn="datasetArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.personalize.*;

DatasetReference datasetReference = DatasetReference.builder()
        .datasetArn("datasetArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.Personalize;

var datasetReference = new DatasetReference {
    DatasetArn = "datasetArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

datasetReference := &DatasetReference{
	DatasetArn: jsii.String("datasetArn"),
}

Properties ​

datasetArnstringdataset_arnstrdatasetArnStringDatasetArnstringDatasetArn*stringrequired#
The DatasetArn of the Dataset resource.