projects
Creates, updates, deletes or gets a project
resource or lists projects
in a region
Overview
Name | projects |
Type | Resource |
Description | The AWS::LookoutVision::Project type creates an Amazon Lookout for Vision project. A project is a grouping of the resources needed to create and manage a Lookout for Vision model. |
Id | aws.lookoutvision.projects |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | |
project_name | string | The name of the Amazon Lookout for Vision project |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | ProjectName, region |
delete_resource | DELETE | data__Identifier, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all projects
in a region.
SELECT
region,
arn,
project_name
FROM aws.lookoutvision.projects
WHERE region = 'us-east-1';
Gets all properties from an individual project
.
SELECT
region,
arn,
project_name
FROM aws.lookoutvision.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
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.lookoutvision.projects (
ProjectName,
region
)
SELECT
'{{ ProjectName }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.lookoutvision.projects (
ProjectName,
region
)
SELECT
'{{ ProjectName }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: project
props:
- name: ProjectName
value: '{{ ProjectName }}'
DELETE
example
/*+ delete */
DELETE FROM aws.lookoutvision.projects
WHERE data__Identifier = '<ProjectName>'
AND region = 'us-east-1';
Permissions
To operate on the projects
resource, the following permissions are required:
Create
lookoutvision:CreateProject
Read
lookoutvision:DescribeProject
Delete
lookoutvision:DeleteProject
List
lookoutvision:ListProjects