Skip to main content

custom_permissions

Creates, updates, deletes or gets a custom_permission resource or lists custom_permissions in a region

Overview

Namecustom_permissions
TypeResource
DescriptionDefinition of the AWS::QuickSight::CustomPermissions Resource Type.
Idaws.quicksight.custom_permissions

Fields

NameDatatypeDescription
arnstring
aws_account_idstring
capabilitiesobject
custom_permissions_namestring
tagsarray
regionstringAWS region.

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

Methods

NameAccessible byRequired Params
create_resourceINSERTAwsAccountId, CustomPermissionsName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all custom_permissions in a region.

SELECT
region,
arn,
aws_account_id,
capabilities,
custom_permissions_name,
tags
FROM aws.quicksight.custom_permissions
WHERE region = 'us-east-1';

Gets all properties from an individual custom_permission.

SELECT
region,
arn,
aws_account_id,
capabilities,
custom_permissions_name,
tags
FROM aws.quicksight.custom_permissions
WHERE region = 'us-east-1' AND data__Identifier = '<AwsAccountId>|<CustomPermissionsName>';

INSERT example

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

/*+ create */
INSERT INTO aws.quicksight.custom_permissions (
AwsAccountId,
CustomPermissionsName,
region
)
SELECT
'{{ AwsAccountId }}',
'{{ CustomPermissionsName }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

quicksight:CreateCustomPermissions,
quicksight:TagResource

Read

quicksight:DescribeCustomPermissions,
quicksight:ListTagsForResource

Update

quicksight:UpdateCustomPermissions,
quicksight:TagResource,
quicksight:UntagResource,
quicksight:ListTagsForResource

Delete

quicksight:DeleteCustomPermissions

List

quicksight:ListCustomPermissions