Skip to main content

folders

Creates, updates, deletes or gets a folder resource or lists folders in a region

Overview

Namefolders
TypeResource
DescriptionDefinition of the AWS::QuickSight::Folder Resource Type.
Idaws.quicksight.folders

Fields

NameDatatypeDescription
arnstring

The Amazon Resource Name (ARN) for the folder.

aws_account_idstring
created_timestring

The time that the folder was created.

folder_idstring
folder_typestring
last_updated_timestring

The time that the folder was last updated.

namestring
parent_folder_arnstring
permissionsarray
sharing_modelstring
tagsarray
regionstringAWS region.

For more information, see AWS::QuickSight::Folder.

Methods

NameAccessible byRequired Params
create_resourceINSERTregion
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all folders in a region.

SELECT
region,
arn,
aws_account_id,
created_time,
folder_id,
folder_type,
last_updated_time,
name,
parent_folder_arn,
permissions,
sharing_model,
tags
FROM aws.quicksight.folders
WHERE region = 'us-east-1';

Gets all properties from an individual folder.

SELECT
region,
arn,
aws_account_id,
created_time,
folder_id,
folder_type,
last_updated_time,
name,
parent_folder_arn,
permissions,
sharing_model,
tags
FROM aws.quicksight.folders
WHERE region = 'us-east-1' AND data__Identifier = '<AwsAccountId>|<FolderId>';

INSERT example

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

/*+ create */
INSERT INTO aws.quicksight.folders (
AwsAccountId,
FolderId,
FolderType,
Name,
ParentFolderArn,
Permissions,
SharingModel,
Tags,
region
)
SELECT
'{{ AwsAccountId }}',
'{{ FolderId }}',
'{{ FolderType }}',
'{{ Name }}',
'{{ ParentFolderArn }}',
'{{ Permissions }}',
'{{ SharingModel }}',
'{{ Tags }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.quicksight.folders
WHERE data__Identifier = '<AwsAccountId|FolderId>'
AND region = 'us-east-1';

Permissions

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

Read

quicksight:DescribeFolder,
quicksight:DescribeFolderPermissions,
quicksight:ListTagsForResource

Create

quicksight:CreateFolder,
quicksight:DescribeFolder,
quicksight:UpdateFolderPermissions,
quicksight:DescribeFolderPermissions,
quicksight:TagResource,
quicksight:ListTagsForResource

Update

quicksight:DescribeFolder,
quicksight:UpdateFolder,
quicksight:DescribeFolderPermissions,
quicksight:UpdateFolderPermissions,
quicksight:ListTagsForResource,
quicksight:TagResource,
quicksight:UntagResource

Delete

quicksight:DeleteFolder

List

quicksight:ListFolders