Skip to main content

projects

Creates, updates, deletes or gets a project resource or lists projects in a region

Overview

Nameprojects
TypeResource
DescriptionThe AWS::Rekognition::Project type creates an Amazon Rekognition CustomLabels Project. A project is a grouping of the resources needed to create and manage Dataset and ProjectVersions.
Idaws.rekognition.projects

Fields

NameDatatypeDescription
arnstringThe ARN of the stream processor
project_namestringThe name of the project
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTProjectName, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all projects in a region.

SELECT
region,
arn,
project_name
FROM aws.rekognition.projects
WHERE region = 'us-east-1';

Gets all properties from an individual project.

SELECT
region,
arn,
project_name
FROM aws.rekognition.projects
WHERE region = 'us-east-1' AND data__Identifier = '<ProjectName>';

INSERT example

Use the following StackQL query and manifest file to create a new project resource, using stack-deploy.

/*+ create */
INSERT INTO aws.rekognition.projects (
ProjectName,
region
)
SELECT
'{{ ProjectName }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.rekognition.projects
WHERE data__Identifier = '<ProjectName>'
AND region = 'us-east-1';

Permissions

To operate on the projects resource, the following permissions are required:

Create

rekognition:CreateProject

Read

rekognition:DescribeProjects

Delete

rekognition:DescribeProjects,
rekognition:DeleteProject

List

rekognition:DescribeProjects