interface CfnDatasetProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Rekognition.CfnDatasetProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsrekognition#CfnDatasetProps |
Java | software.amazon.awscdk.services.rekognition.CfnDatasetProps |
Python | aws_cdk.aws_rekognition.CfnDatasetProps |
TypeScript | aws-cdk-lib » aws_rekognition » CfnDatasetProps |
Properties for defining a CfnDataset.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rekognition-dataset.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_rekognition as rekognition } from 'aws-cdk-lib';
const cfnDatasetProps: rekognition.CfnDatasetProps = {
datasetType: 'datasetType',
// the properties below are optional
projectArn: 'projectArn',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| dataset | string | The type of the dataset. |
| project | string | The ARN of the project to which the dataset belongs. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
datasetType
Type:
string
The type of the dataset.
Specify TRAIN to create a training dataset. Specify TEST to create a test dataset.
projectArn?
Type:
string
(optional)
The ARN of the project to which the dataset belongs.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.

.NET
Go
Java
Python
TypeScript