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
Idawscc.systemsmanagersap.applications

Fields

NameDatatypeDescription
application_idstring
application_typestring
arnstringThe ARN of the SSM-SAP application
credentialsarray
instancesarray
sap_instance_numberstring
sidstring
tagsarrayThe tags of a SystemsManagerSAP application.
database_arnstringThe ARN of the SAP HANA database
components_infoarrayThis is an optional parameter for component details to which the SAP ABAP application is attached, such as Web Dispatcher.
regionstringAWS region.

For more information, see AWS::SystemsManagerSAP::Application.

Methods

NameResourceAccessible byRequired Params
create_resourceapplicationsINSERTApplicationId, ApplicationType, region
delete_resourceapplicationsDELETEIdentifier, region
update_resourceapplicationsUPDATEIdentifier, PatchDocument, region
list_resourcesapplications_list_onlySELECTregion
get_resourceapplicationsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual application.

SELECT
region,
application_id,
application_type,
arn,
credentials,
instances,
sap_instance_number,
sid,
tags,
database_arn,
components_info
FROM awscc.systemsmanagersap.applications
WHERE
region = 'us-east-1' AND
Identifier = '{{ arn }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.systemsmanagersap.applications
SET PatchDocument = string('{{ {
"ApplicationId": application_id,
"ApplicationType": application_type,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.systemsmanagersap.applications
WHERE
Identifier = '{{ arn }}' AND
region = 'us-east-1';

Permissions

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

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