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
Idawscc.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.

For more information, see AWS::AppConfig::Application.

Methods

NameResourceAccessible byRequired Params
create_resourceapplicationsINSERTName, region
delete_resourceapplicationsDELETEIdentifier, region
update_resourceapplicationsUPDATEIdentifier, PatchDocument, region
list_resourcesapplications_list_onlySELECTregion
get_resourceapplicationsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual application.

SELECT
region,
description,
application_id,
tags,
name
FROM awscc.appconfig.applications
WHERE
region = 'us-east-1' AND
Identifier = '{{ application_id }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.appconfig.applications (
Name,
region
)
SELECT
'{{ name }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.appconfig.applications
SET PatchDocument = string('{{ {
"Description": description,
"Tags": tags,
"Name": name
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ application_id }}';

DELETE example

/*+ delete */
DELETE FROM awscc.appconfig.applications
WHERE
Identifier = '{{ application_id }}' AND
region = 'us-east-1';

Permissions

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

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