Skip to main content

group_profiles

Creates, updates, deletes or gets a group_profile resource or lists group_profiles in a region

Overview

Namegroup_profiles
TypeResource
DescriptionGroup profiles represent groups of Amazon DataZone users. Groups can be manually created, or mapped to Active Directory groups of enterprise customers. In Amazon DataZone, groups serve two purposes. First, a group can map to a team of users in the organizational chart, and thus reduce the administrative work of a Amazon DataZone project owner when there are new employees joining or leaving a team. Second, corporate administrators use Active Directory groups to manage and update user statuses and so Amazon DataZone domain administrators can use these group memberships to implement Amazon DataZone domain policies.
Idawscc.datazone.group_profiles

Fields

NameDatatypeDescription
domain_idstringThe identifier of the Amazon DataZone domain in which the group profile is created.
domain_identifierstringThe identifier of the Amazon DataZone domain in which the group profile would be created.
group_identifierstringThe ID of the group.
group_namestringThe group-name of the Group Profile.
idstringThe ID of the Amazon DataZone group profile.
statusstringThe status of the group profile.
regionstringAWS region.

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

Methods

NameResourceAccessible byRequired Params
create_resourcegroup_profilesINSERTDomainIdentifier, GroupIdentifier, region
delete_resourcegroup_profilesDELETEIdentifier, region
update_resourcegroup_profilesUPDATEIdentifier, PatchDocument, region
list_resourcesgroup_profiles_list_onlySELECTregion
get_resourcegroup_profilesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual group_profile.

SELECT
region,
domain_id,
domain_identifier,
group_identifier,
group_name,
id,
status
FROM awscc.datazone.group_profiles
WHERE
region = 'us-east-1' AND
Identifier = '{{ domain_id }}|{{ id }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.datazone.group_profiles (
DomainIdentifier,
GroupIdentifier,
region
)
SELECT
'{{ domain_identifier }}',
'{{ group_identifier }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.datazone.group_profiles
SET PatchDocument = string('{{ {
"Status": status
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ domain_id }}|{{ id }}';

DELETE example

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

Permissions

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

datazone:CreateGroupProfile,
datazone:GetGroupProfile,
datazone:UpdateGroupProfile,
sso:ListProfiles,
sso:GetProfile,
sso:AssociateProfile,
sso:DisassociateProfile