Skip to main content

applications

Creates, updates, deletes or gets an application resource or lists applications in a region

Overview

Nameapplications
TypeResource
DescriptionResource schema for AWS::SystemsManagerSAP::Application
Idaws.systemsmanagersap.applications

Fields

NameDatatypeDescription
application_idstring
application_typestring
arnstringThe ARN of the Helix application
credentialsarray
instancesarray
sap_instance_numberstring
sidstring
tagsarrayThe tags of a SystemsManagerSAP application.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTApplicationId, ApplicationType, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all applications in a region.

SELECT
region,
application_id,
application_type,
arn,
credentials,
instances,
sap_instance_number,
sid,
tags
FROM aws.systemsmanagersap.applications
WHERE region = 'us-east-1';

Gets all properties from an individual application.

SELECT
region,
application_id,
application_type,
arn,
credentials,
instances,
sap_instance_number,
sid,
tags
FROM aws.systemsmanagersap.applications
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';

INSERT example

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

/*+ create */
INSERT INTO aws.systemsmanagersap.applications (
ApplicationId,
ApplicationType,
region
)
SELECT
'{{ ApplicationId }}',
'{{ ApplicationType }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.systemsmanagersap.applications
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';

Permissions

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

Create

ssm-sap:RegisterApplication,
ssm-sap:GetApplication,
ssm-sap:TagResource,
ssm-sap:ListTagsForResource

Read

ssm-sap:GetApplication,
ssm-sap:ListTagsForResource

Update

ssm-sap:TagResource,
ssm-sap:UntagResource,
ssm-sap:ListTagsForResource,
ssm-sap:GetApplication

Delete

ssm-sap:DeregisterApplication,
ssm-sap:GetApplication

List

ssm-sap:ListApplications