Class CfnDatasetProps
Properties for defining a CfnDataset
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Personalize
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDatasetProps : Object, ICfnDatasetProps
Syntax (vb)
Public Class CfnDatasetProps
Inherits Object
Implements ICfnDatasetProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-personalize-dataset.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Personalize;
var dataSource;
var cfnDatasetProps = new CfnDatasetProps {
DatasetGroupArn = "datasetGroupArn",
DatasetType = "datasetType",
Name = "name",
SchemaArn = "schemaArn",
// the properties below are optional
DatasetImportJob = new DatasetImportJobProperty {
DatasetArn = "datasetArn",
DatasetImportJobArn = "datasetImportJobArn",
DataSource = dataSource,
JobName = "jobName",
RoleArn = "roleArn"
}
};
Synopsis
Constructors
CfnDatasetProps() |
Properties
DatasetGroupArn | The Amazon Resource Name (ARN) of the dataset group. |
DatasetImportJob | Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset. |
DatasetType | One of the following values:. |
Name | The name of the dataset. |
SchemaArn | The ARN of the associated schema. |
Constructors
CfnDatasetProps()
public CfnDatasetProps()
Properties
DatasetGroupArn
The Amazon Resource Name (ARN) of the dataset group.
public string DatasetGroupArn { get; set; }
Property Value
System.String
Remarks
DatasetImportJob
Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset.
public object DatasetImportJob { get; set; }
Property Value
System.Object
Remarks
If you specify a dataset import job as part of a dataset, all dataset import job fields are required.
DatasetType
One of the following values:.
public string DatasetType { get; set; }
Property Value
System.String
Remarks
You can't use CloudFormation to create an Action Interactions or Actions dataset.
Name
The name of the dataset.
public string Name { get; set; }
Property Value
System.String
Remarks
SchemaArn
The ARN of the associated schema.
public string SchemaArn { get; set; }
Property Value
System.String