Skip to main content

plugins

Creates, updates, deletes or gets a plugin resource or lists plugins in a region

Overview

Nameplugins
TypeResource
DescriptionDefinition of AWS::QBusiness::Plugin Resource Type
Idaws.qbusiness.plugins

Fields

NameDatatypeDescription
application_idstring
auth_configurationundefined
build_statusstring
created_atstring
custom_plugin_configurationobject
display_namestring
plugin_arnstring
plugin_idstring
server_urlstring
statestring
tagsarray
typestring
updated_atstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTApplicationId, AuthConfiguration, DisplayName, Type, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all plugins in a region.

SELECT
region,
application_id,
auth_configuration,
build_status,
created_at,
custom_plugin_configuration,
display_name,
plugin_arn,
plugin_id,
server_url,
state,
tags,
type,
updated_at
FROM aws.qbusiness.plugins
WHERE region = 'us-east-1';

Gets all properties from an individual plugin.

SELECT
region,
application_id,
auth_configuration,
build_status,
created_at,
custom_plugin_configuration,
display_name,
plugin_arn,
plugin_id,
server_url,
state,
tags,
type,
updated_at
FROM aws.qbusiness.plugins
WHERE region = 'us-east-1' AND data__Identifier = '<ApplicationId>|<PluginId>';

INSERT example

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

/*+ create */
INSERT INTO aws.qbusiness.plugins (
ApplicationId,
AuthConfiguration,
DisplayName,
Type,
region
)
SELECT
'{{ ApplicationId }}',
'{{ AuthConfiguration }}',
'{{ DisplayName }}',
'{{ Type }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.qbusiness.plugins
WHERE data__Identifier = '<ApplicationId|PluginId>'
AND region = 'us-east-1';

Permissions

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

Create

iam:PassRole,
qbusiness:CreatePlugin,
qbusiness:GetPlugin,
qbusiness:ListTagsForResource,
qbusiness:TagResource,
qbusiness:UpdatePlugin

Read

qbusiness:GetPlugin,
qbusiness:ListTagsForResource

Update

iam:PassRole,
qbusiness:GetPlugin,
qbusiness:ListTagsForResource,
qbusiness:TagResource,
qbusiness:UntagResource,
qbusiness:UpdatePlugin

Delete

qbusiness:DeletePlugin,
qbusiness:GetPlugin

List

qbusiness:ListPlugins