Skip to main content

template_group_access_control_entries

Creates, updates, deletes or gets a template_group_access_control_entry resource or lists template_group_access_control_entries in a region

Overview

Nametemplate_group_access_control_entries
TypeResource
DescriptionDefinition of AWS::PCAConnectorAD::TemplateGroupAccessControlEntry Resource Type
Idaws.pcaconnectorad.template_group_access_control_entries

Fields

NameDatatypeDescription
access_rightsobject
group_display_namestring
group_security_identifierstring
template_arnstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTAccessRights, GroupDisplayName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all template_group_access_control_entries in a region.

SELECT
region,
access_rights,
group_display_name,
group_security_identifier,
template_arn
FROM aws.pcaconnectorad.template_group_access_control_entries
WHERE region = 'us-east-1';

Gets all properties from an individual template_group_access_control_entry.

SELECT
region,
access_rights,
group_display_name,
group_security_identifier,
template_arn
FROM aws.pcaconnectorad.template_group_access_control_entries
WHERE region = 'us-east-1' AND data__Identifier = '<GroupSecurityIdentifier>|<TemplateArn>';

INSERT example

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

/*+ create */
INSERT INTO aws.pcaconnectorad.template_group_access_control_entries (
AccessRights,
GroupDisplayName,
region
)
SELECT
'{{ AccessRights }}',
'{{ GroupDisplayName }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.pcaconnectorad.template_group_access_control_entries
WHERE data__Identifier = '<GroupSecurityIdentifier|TemplateArn>'
AND region = 'us-east-1';

Permissions

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

Create

pca-connector-ad:CreateTemplateGroupAccessControlEntry

Read

pca-connector-ad:GetTemplateGroupAccessControlEntry

Update

pca-connector-ad:UpdateTemplateGroupAccessControlEntry

Delete

pca-connector-ad:DeleteTemplateGroupAccessControlEntry,
pca-connector-ad:GetTemplateGroupAccessControlEntry

List

pca-connector-ad:ListTemplateGroupAccessControlEntries