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::AppConfig::Application
Idaws.appconfig.applications

Fields

NameDatatypeDescription
descriptionstringA description of the application.
application_idstringThe application Id
tagsarrayMetadata to assign to the application. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
namestringA name for the application.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, 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,
description,
application_id,
tags,
name
FROM aws.appconfig.applications
WHERE region = 'us-east-1';

Gets all properties from an individual application.

SELECT
region,
description,
application_id,
tags,
name
FROM aws.appconfig.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.appconfig.applications (
Name,
region
)
SELECT
'{{ Name }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

appconfig:CreateApplication,
appconfig:GetApplication,
appconfig:ListTagsForResource,
appconfig:TagResource

Read

appconfig:GetApplication,
appconfig:ListTagsForResource

Update

appconfig:UpdateApplication,
appconfig:TagResource,
appconfig:UntagResource

Delete

appconfig:GetApplication,
appconfig:DeleteApplication

List

appconfig:ListApplications