Skip to main content

robot_applications

Creates, updates, deletes or gets a robot_application resource or lists robot_applications in a region

Overview

Namerobot_applications
TypeResource
DescriptionThis schema is for testing purpose only.
Idaws.robomaker.robot_applications

Fields

NameDatatypeDescription
namestringThe name of the robot application.
sourcesarrayThe sources of the robot application.
environmentstringThe URI of the Docker image for the robot application.
robot_software_suiteobjectInformation about a robot software suite.
current_revision_idstringThe revision ID of robot application.
arnstring
tagsobjectA key-value pair to associate with a resource.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTRobotSoftwareSuite, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all robot_applications in a region.

SELECT
region,
name,
sources,
environment,
robot_software_suite,
current_revision_id,
arn,
tags
FROM aws.robomaker.robot_applications
WHERE region = 'us-east-1';

Gets all properties from an individual robot_application.

SELECT
region,
name,
sources,
environment,
robot_software_suite,
current_revision_id,
arn,
tags
FROM aws.robomaker.robot_applications
WHERE region = 'us-east-1' AND data__Identifier = '<Arn>';

INSERT example

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

/*+ create */
INSERT INTO aws.robomaker.robot_applications (
RobotSoftwareSuite,
region
)
SELECT
'{{ RobotSoftwareSuite }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

robomaker:CreateRobotApplication,
robomaker:TagResource,
robomaker:UntagResource,
ecr:BatchGetImage,
ecr:GetAuthorizationToken,
ecr:BatchCheckLayerAvailability,
ecr-public:GetAuthorizationToken,
sts:GetServiceBearerToken

Read

robomaker:DescribeRobotApplication

Update

robomaker:TagResource,
robomaker:UntagResource,
robomaker:UpdateRobotApplication,
ecr:BatchGetImage,
ecr:GetAuthorizationToken,
ecr:BatchCheckLayerAvailability,
ecr-public:GetAuthorizationToken

Delete

robomaker:DescribeRobotApplication,
robomaker:DeleteRobotApplication

List

robomaker:ListRobotApplications