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::AppConfig::Application |
Id | aws.appconfig.applications |
Fields
Name | Datatype | Description |
---|---|---|
description | string | A description of the application. |
application_id | string | The application Id |
tags | array | Metadata 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. |
name | string | A name for the application. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | Name, 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,
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
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.appconfig.applications (
Name,
region
)
SELECT
'{{ Name }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.appconfig.applications (
Description,
Tags,
Name,
region
)
SELECT
'{{ Description }}',
'{{ Tags }}',
'{{ Name }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: application
props:
- name: Description
value: '{{ Description }}'
- name: Tags
value:
- Value: '{{ Value }}'
Key: '{{ Key }}'
- name: Name
value: '{{ Name }}'
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