applications
Creates, updates, deletes, gets or lists an applications resource.
Overview
| Name | applications |
| Type | Resource |
| Id | aws.discovery.applications |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
create_application | insert | region, name | Creates an application with the given name and description. | |
update_application | update | region, configurationId | Updates metadata about an application. | |
delete_applications | delete | region | Deletes a list of applications and their associations with configuration items. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
INSERT examples
- create_application
- Manifest
Creates an application with the given name and description.
INSERT INTO aws.discovery.applications (
name,
description,
wave,
region
)
SELECT
'{{ name }}' /* required */,
'{{ description }}',
'{{ wave }}',
'{{ region }}'
RETURNING
configuration_id
;
# Description fields are for documentation purposes
- name: applications
props:
- name: region
value: "{{ region }}"
description: Required parameter for the applications resource.
- name: name
value: "{{ name }}"
description: |
The name of the application to be created.
- name: description
value: "{{ description }}"
description: |
The description of the application to be created.
- name: wave
value: "{{ wave }}"
description: |
The name of the migration wave of the application to be created.
UPDATE examples
- update_application
Updates metadata about an application.
UPDATE aws.discovery.applications
SET
configurationId = '{{ configurationId }}',
name = '{{ name }}',
description = '{{ description }}',
wave = '{{ wave }}'
WHERE
region = '{{ region }}' --required
AND configurationId = '{{ configurationId }}' --required;
DELETE examples
- delete_applications
Deletes a list of applications and their associations with configuration items.
DELETE FROM aws.discovery.applications
WHERE region = '{{ region }}' --required
;