Skip to main content

applications

Creates, updates, deletes, gets or lists an applications resource.

Overview

Nameapplications
TypeResource
Idaws.codedeploy.applications

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
applications_infoarrayInformation about the applications.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_get_applicationsselectregionGets information about one or more applications. The maximum number of applications that can be returned is 100.
get_applicationselectregionGets information about an application.
list_applicationsselectregionLists the applications registered with the user or Amazon Web Services account.
create_applicationinsertregion, applicationNameCreates an application.
update_applicationupdateregionChanges the name of an application.
delete_applicationdeleteregionDeletes an application.

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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets information about one or more applications. The maximum number of applications that can be returned is 100.

SELECT
applications_info
FROM aws.codedeploy.applications
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates an application.

INSERT INTO aws.codedeploy.applications (
applicationName,
computePlatform,
tags,
region
)
SELECT
'{{ applicationName }}' /* required */,
'{{ computePlatform }}',
'{{ tags }}',
'{{ region }}'
RETURNING
application_id
;

UPDATE examples

Changes the name of an application.

UPDATE aws.codedeploy.applications
SET
applicationName = '{{ applicationName }}',
newApplicationName = '{{ newApplicationName }}'
WHERE
region = '{{ region }}' --required;

DELETE examples

Deletes an application.

DELETE FROM aws.codedeploy.applications
WHERE region = '{{ region }}' --required
;