Skip to main content

project_profiles

Creates, updates, deletes or gets a project_profile resource or lists project_profiles in a region

Overview

Nameproject_profiles
TypeResource
DescriptionDefinition of AWS::DataZone::ProjectProfile Resource Type
Idawscc.datazone.project_profiles

Fields

NameDatatypeDescription
created_atstring
created_bystring
descriptionstring
domain_idstring
domain_identifierstring
domain_unit_idstring
domain_unit_identifierstring
environment_configurationsarray
idstring
identifierstring
last_updated_atstring
namestring
statusstring
regionstringAWS region.

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

Methods

NameResourceAccessible byRequired Params
create_resourceproject_profilesINSERTName, region
delete_resourceproject_profilesDELETEIdentifier, region
update_resourceproject_profilesUPDATEIdentifier, PatchDocument, region
list_resourcesproject_profiles_list_onlySELECTregion
get_resourceproject_profilesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual project_profile.

SELECT
region,
created_at,
created_by,
description,
domain_id,
domain_identifier,
domain_unit_id,
domain_unit_identifier,
environment_configurations,
id,
identifier,
last_updated_at,
name,
status
FROM awscc.datazone.project_profiles
WHERE
region = 'us-east-1' AND
Identifier = '{{ domain_identifier }}|{{ identifier }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.datazone.project_profiles
SET PatchDocument = string('{{ {
"Description": description,
"DomainUnitIdentifier": domain_unit_identifier,
"Name": name,
"Status": status
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ domain_identifier }}|{{ identifier }}';

DELETE example

/*+ delete */
DELETE FROM awscc.datazone.project_profiles
WHERE
Identifier = '{{ domain_identifier }}|{{ identifier }}' AND
region = 'us-east-1';

Permissions

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

datazone:CreateProjectProfile,
datazone:GetProjectProfile,
ssm:GetParameter