Skip to main content

projects

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

Overview

Nameprojects
TypeResource
DescriptionAmazon DataZone projects are business use case–based groupings of people, assets (data), and tools used to simplify access to the AWS analytics.
Idaws.datazone.projects

Fields

NameDatatypeDescription
created_atstringThe timestamp of when the project was created.
created_bystringThe Amazon DataZone user who created the project.
descriptionstringThe description of the Amazon DataZone project.
domain_idstringThe identifier of the Amazon DataZone domain in which the project was created.
domain_identifierstringThe ID of the Amazon DataZone domain in which this project is created.
glossary_termsarrayThe glossary terms that can be used in this Amazon DataZone project.
idstringThe ID of the Amazon DataZone project.
last_updated_atstringThe timestamp of when the project was last updated.
namestringThe name of the Amazon DataZone project.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTDomainIdentifier, Name, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all projects in a region.

SELECT
region,
created_at,
created_by,
description,
domain_id,
domain_identifier,
glossary_terms,
id,
last_updated_at,
name
FROM aws.datazone.projects
WHERE region = 'us-east-1';

Gets all properties from an individual project.

SELECT
region,
created_at,
created_by,
description,
domain_id,
domain_identifier,
glossary_terms,
id,
last_updated_at,
name
FROM aws.datazone.projects
WHERE region = 'us-east-1' AND data__Identifier = '<DomainId>|<Id>';

INSERT example

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

/*+ create */
INSERT INTO aws.datazone.projects (
DomainIdentifier,
Name,
region
)
SELECT
'{{ DomainIdentifier }}',
'{{ Name }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.datazone.projects
WHERE data__Identifier = '<DomainId|Id>'
AND region = 'us-east-1';

Permissions

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

Create

datazone:CreateProject,
datazone:GetProject

Read

datazone:GetProject

Update

datazone:UpdateProject,
datazone:GetProject

Delete

datazone:DeleteProject,
datazone:GetProject

List

datazone:ListProjects