applications
Creates, updates, deletes or gets an application
resource or lists applications
in a region
Overview
Name | applications |
Type | Resource |
Description | Resource Schema for AWS::ServiceCatalogAppRegistry::Application |
Id | aws.servicecatalogappregistry.applications |
Fields
Name | Datatype | Description |
---|---|---|
id | string | |
arn | string | |
name | string | The name of the application. |
description | string | The description of the application. |
tags | object | |
application_tag_key | string | The key of the AWS application tag, which is awsApplication. Applications created before 11/13/2023 or applications without the AWS application tag resource group return no value. |
application_tag_value | string | The value of the AWS application tag, which is the identifier of an associated resource. Applications created before 11/13/2023 or applications without the AWS application tag resource group return no value. |
application_name | string | The name of 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,
id,
arn,
name,
description,
tags,
application_tag_key,
application_tag_value,
application_name
FROM aws.servicecatalogappregistry.applications
WHERE region = 'us-east-1';
Gets all properties from an individual application
.
SELECT
region,
id,
arn,
name,
description,
tags,
application_tag_key,
application_tag_value,
application_name
FROM aws.servicecatalogappregistry.applications
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';
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.servicecatalogappregistry.applications (
Name,
region
)
SELECT
'{{ Name }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.servicecatalogappregistry.applications (
Name,
Description,
Tags,
region
)
SELECT
'{{ Name }}',
'{{ Description }}',
'{{ 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: Description
value: '{{ Description }}'
- name: Tags
value: {}
DELETE
example
/*+ delete */
DELETE FROM aws.servicecatalogappregistry.applications
WHERE data__Identifier = '<Id>'
AND region = 'us-east-1';
Permissions
To operate on the applications
resource, the following permissions are required:
Create
servicecatalog:CreateApplication,
servicecatalog:TagResource,
iam:CreateServiceLinkedRole
Read
servicecatalog:GetApplication
Update
servicecatalog:GetApplication,
servicecatalog:ListTagsForResource,
servicecatalog:TagResource,
servicecatalog:UntagResource,
servicecatalog:UpdateApplication,
iam:CreateServiceLinkedRole
Delete
servicecatalog:DeleteApplication
List
servicecatalog:ListApplications