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.
Idawscc.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.
domain_unit_idstringThe ID of the domain unit.
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.
project_profile_idstringThe project profile ID.
project_profile_versionstringThe project profile version to which the project should be updated. You can only specify the following string for this parameter: latest.
project_statusstringThe status of the project.
user_parametersarrayThe user parameters of the project.
regionstringAWS region.

For more information, see AWS::DataZone::Project.

Methods

NameResourceAccessible byRequired Params
create_resourceprojectsINSERTDomainIdentifier, Name, region
delete_resourceprojectsDELETEIdentifier, region
update_resourceprojectsUPDATEIdentifier, PatchDocument, region
list_resourcesprojects_list_onlySELECTregion
get_resourceprojectsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual project.

SELECT
region,
created_at,
created_by,
description,
domain_id,
domain_identifier,
domain_unit_id,
glossary_terms,
id,
last_updated_at,
name,
project_profile_id,
project_profile_version,
project_status,
user_parameters
FROM awscc.datazone.projects
WHERE
region = 'us-east-1' AND
Identifier = '{{ domain_id }}|{{ id }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.datazone.projects
SET PatchDocument = string('{{ {
"Description": description,
"DomainUnitId": domain_unit_id,
"GlossaryTerms": glossary_terms,
"Name": name,
"ProjectProfileVersion": project_profile_version,
"UserParameters": user_parameters
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ domain_id }}|{{ id }}';

DELETE example

/*+ delete */
DELETE FROM awscc.datazone.projects
WHERE
Identifier = '{{ domain_id }}|{{ id }}' AND
region = 'us-east-1';

Permissions

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

datazone:CreateProject,
datazone:GetProject