Skip to main content

applications

Creates, updates, deletes or gets an application resource or lists applications in a region

Overview

Nameapplications
TypeResource
DescriptionDefinition of AWS::QBusiness::Application Resource Type
Idaws.qbusiness.applications

Fields

NameDatatypeDescription
application_arnstring
application_idstring
attachments_configurationobject
created_atstring
descriptionstring
display_namestring
encryption_configurationobject
identity_center_application_arnstring
identity_center_instance_arnstring
role_arnstring
statusstring
tagsarray
updated_atstring
regionstringAWS region.

Methods

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

SELECT examples

Gets all applications in a region.

SELECT
region,
application_arn,
application_id,
attachments_configuration,
created_at,
description,
display_name,
encryption_configuration,
identity_center_application_arn,
identity_center_instance_arn,
role_arn,
status,
tags,
updated_at
FROM aws.qbusiness.applications
WHERE region = 'us-east-1';

Gets all properties from an individual application.

SELECT
region,
application_arn,
application_id,
attachments_configuration,
created_at,
description,
display_name,
encryption_configuration,
identity_center_application_arn,
identity_center_instance_arn,
role_arn,
status,
tags,
updated_at
FROM aws.qbusiness.applications
WHERE region = 'us-east-1' AND data__Identifier = '<ApplicationId>';

INSERT example

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

/*+ create */
INSERT INTO aws.qbusiness.applications (
DisplayName,
region
)
SELECT
'{{ DisplayName }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

iam:PassRole,
kms:CreateGrant,
kms:DescribeKey,
qbusiness:CreateApplication,
qbusiness:GetApplication,
qbusiness:ListTagsForResource,
qbusiness:TagResource,
sso:CreateApplication,
sso:DeleteApplication,
sso:PutApplicationAccessScope,
sso:PutApplicationAuthenticationMethod,
sso:PutApplicationGrant

Read

qbusiness:GetApplication,
qbusiness:ListTagsForResource

Update

iam:PassRole,
qbusiness:GetApplication,
qbusiness:ListTagsForResource,
qbusiness:TagResource,
qbusiness:UntagResource,
qbusiness:UpdateApplication,
sso:CreateApplication,
sso:DeleteApplication,
sso:PutApplicationAccessScope,
sso:PutApplicationAuthenticationMethod,
sso:PutApplicationGrant

Delete

kms:RetireGrant,
qbusiness:DeleteApplication,
qbusiness:GetApplication,
sso:DeleteApplication

List

qbusiness:ListApplications