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
Name | template_group_access_control_entries |
Type | Resource |
Description | Definition of AWS::PCAConnectorAD::TemplateGroupAccessControlEntry Resource Type |
Id | aws.pcaconnectorad.template_group_access_control_entries |
Fields
Name | Datatype | Description |
---|---|---|
access_rights | object | |
group_display_name | string | |
group_security_identifier | string | |
template_arn | string | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | AccessRights, GroupDisplayName, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__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
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.pcaconnectorad.template_group_access_control_entries (
AccessRights,
GroupDisplayName,
region
)
SELECT
'{{ AccessRights }}',
'{{ GroupDisplayName }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.pcaconnectorad.template_group_access_control_entries (
AccessRights,
GroupDisplayName,
GroupSecurityIdentifier,
TemplateArn,
region
)
SELECT
'{{ AccessRights }}',
'{{ GroupDisplayName }}',
'{{ GroupSecurityIdentifier }}',
'{{ TemplateArn }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: template_group_access_control_entry
props:
- name: AccessRights
value:
Enroll: '{{ Enroll }}'
AutoEnroll: null
- name: GroupDisplayName
value: '{{ GroupDisplayName }}'
- name: GroupSecurityIdentifier
value: '{{ GroupSecurityIdentifier }}'
- name: TemplateArn
value: '{{ TemplateArn }}'
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