AWS::Rekognition::Dataset

Rekognition Dataset

The AWS::Rekognition::Dataset type creates an Amazon Rekognition Custom Labels dataset.

Properties

3 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
DatasetType
string
RequiredCreate-only
ProjectArn
string
Create-onlyWrite-only
Tags
Array<Tag>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
DatasetArnstringThe ARN of the dataset.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Rekognition::Dataset

Resources:
  MyResource:
    Type: AWS::Rekognition::Dataset
    Properties:
      DatasetType: "TRAIN"
      Tags:
        - Key: Environment
          Value: Production

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

rekognition:CreateDatasetrekognition:DescribeDatasetrekognition:TagResourcerekognition:ListTagsForResource

read

rekognition:DescribeDatasetrekognition:ListTagsForResource

update

rekognition:TagResourcerekognition:UntagResourcerekognition:ListTagsForResourcerekognition:DescribeDataset

delete

rekognition:DeleteDatasetrekognition:DescribeDatasetrekognition:ListTagsForResource

list

rekognition:DescribeProjects

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

ServiceRekognition
Properties4
Required1
TaggingSupported
Primary IDDatasetArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

DatasetTypeProjectArn

External Links