Skip to main content

applications

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

Overview

Nameapplications
TypeResource
DescriptionResource Type definition for AWS:AppIntegrations::Application
Idaws.appintegrations.applications

Fields

NameDatatypeDescription
namestringThe name of the application.
idstringThe id of the application.
namespacestringThe namespace of the application.
descriptionstringThe application description.
application_arnstringThe Amazon Resource Name (ARN) of the application.
application_source_configobjectApplication source config
permissionsarrayThe configuration of events or requests that the application has access to.
tagsarrayThe tags (keys and values) associated with the application.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, Description, ApplicationSourceConfig, 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,
name,
id,
namespace,
description,
application_arn,
application_source_config,
permissions,
tags
FROM aws.appintegrations.applications
WHERE region = 'us-east-1';

Gets all properties from an individual application.

SELECT
region,
name,
id,
namespace,
description,
application_arn,
application_source_config,
permissions,
tags
FROM aws.appintegrations.applications
WHERE region = 'us-east-1' AND data__Identifier = '<ApplicationArn>';

INSERT example

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

/*+ create */
INSERT INTO aws.appintegrations.applications (
Name,
Description,
ApplicationSourceConfig,
region
)
SELECT
'{{ Name }}',
'{{ Description }}',
'{{ ApplicationSourceConfig }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

app-integrations:CreateApplication,
app-integrations:TagResource

Read

app-integrations:GetApplication

List

app-integrations:ListApplications,
app-integrations:ListTagsForResource

Update

app-integrations:GetApplication,
app-integrations:UpdateApplication,
app-integrations:TagResource,
app-integrations:UntagResource

Delete

app-integrations:DeleteApplication