Skip to main content

application_instances

Creates, updates, deletes or gets an application_instance resource or lists application_instances in a region

Overview

Nameapplication_instances
TypeResource
DescriptionSchema for ApplicationInstance CloudFormation Resource
Idaws.panorama.application_instances

Fields

NameDatatypeDescription
default_runtime_context_device_namestring
statusstring
default_runtime_context_devicestring
descriptionstring
application_instance_id_to_replacestring
created_timeinteger
health_statusstring
manifest_overrides_payloadobject
last_updated_timeinteger
runtime_role_arnstring
namestring
application_instance_idstring
status_descriptionstring
manifest_payloadobject
arnstring
tagsarray
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTManifestPayload, DefaultRuntimeContextDevice, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all application_instances in a region.

SELECT
region,
default_runtime_context_device_name,
status,
default_runtime_context_device,
description,
application_instance_id_to_replace,
created_time,
health_status,
manifest_overrides_payload,
last_updated_time,
runtime_role_arn,
name,
application_instance_id,
status_description,
manifest_payload,
arn,
tags
FROM aws.panorama.application_instances
WHERE region = 'us-east-1';

Gets all properties from an individual application_instance.

SELECT
region,
default_runtime_context_device_name,
status,
default_runtime_context_device,
description,
application_instance_id_to_replace,
created_time,
health_status,
manifest_overrides_payload,
last_updated_time,
runtime_role_arn,
name,
application_instance_id,
status_description,
manifest_payload,
arn,
tags
FROM aws.panorama.application_instances
WHERE region = 'us-east-1' AND data__Identifier = '<ApplicationInstanceId>';

INSERT example

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

/*+ create */
INSERT INTO aws.panorama.application_instances (
DefaultRuntimeContextDevice,
ManifestPayload,
region
)
SELECT
'{{ DefaultRuntimeContextDevice }}',
'{{ ManifestPayload }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.panorama.application_instances
WHERE data__Identifier = '<ApplicationInstanceId>'
AND region = 'us-east-1';

Permissions

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

Read

panorama:DescribeApplicationInstance,
panorama:DescribeApplicationInstanceDetails,
panorama:ListTagsForResource,
s3:ListObjects,
s3:GetObject,
s3:GetObjectVersion

Create

panorama:CreateApplicationInstance,
panorama:ListTagsForResource,
panorama:TagResource,
panorama:DescribeApplicationInstance,
panorama:DescribeApplicationInstanceDetails,
iam:PassRole,
s3:ListBucket,
s3:PutObject,
s3:GetObject,
s3:GetObjectVersion

Update

panorama:ListTagsForResource,
panorama:TagResource,
panorama:UntagResource,
panorama:DescribeApplicationInstance,
panorama:DescribeApplicationInstanceDetails,
s3:ListObjects,
s3:GetObject,
s3:GetObjectVersion

List

panorama:ListApplicationInstances,
s3:ListBucket,
s3:GetObject,
s3:GetObjectVersion

Delete

panorama:RemoveApplicationInstance,
panorama:DescribeApplicationInstance,
panorama:DescribeApplicationInstanceDetails,
s3:DeleteObject,
s3:DeleteObjectVersion,
s3:DeleteObjectVersionTagging,
s3:ListObjects,
s3:GetObject,
s3:GetObjectVersion