applications
Creates, updates, deletes or gets an application
resource or lists applications
in a region
Overview
Name | applications |
Type | Resource |
Description | Resource Type definition for AWS:AppIntegrations::Application |
Id | aws.appintegrations.applications |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The name of the application. |
id | string | The id of the application. |
namespace | string | The namespace of the application. |
description | string | The application description. |
application_arn | string | The Amazon Resource Name (ARN) of the application. |
application_source_config | object | Application source config |
permissions | array | The configuration of events or requests that the application has access to. |
tags | array | The tags (keys and values) associated with the application. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | Name, Description, ApplicationSourceConfig, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__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
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.appintegrations.applications (
Name,
Description,
ApplicationSourceConfig,
region
)
SELECT
'{{ Name }}',
'{{ Description }}',
'{{ ApplicationSourceConfig }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.appintegrations.applications (
Name,
Namespace,
Description,
ApplicationSourceConfig,
Permissions,
Tags,
region
)
SELECT
'{{ Name }}',
'{{ Namespace }}',
'{{ Description }}',
'{{ ApplicationSourceConfig }}',
'{{ Permissions }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: application
props:
- name: Name
value: '{{ Name }}'
- name: Namespace
value: '{{ Namespace }}'
- name: Description
value: '{{ Description }}'
- name: ApplicationSourceConfig
value:
ExternalUrlConfig:
AccessUrl: '{{ AccessUrl }}'
ApprovedOrigins:
- '{{ ApprovedOrigins[0] }}'
- name: Permissions
value:
- '{{ Permissions[0] }}'
- name: Tags
value:
- Key: '{{ Key }}'
Value: '{{ Value }}'
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