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

For more information, see AWS::RoboMaker::RobotApplication.

Methods

NameResourceAccessible byRequired Params
create_resourcerobot_applicationsINSERTRobotSoftwareSuite, region
delete_resourcerobot_applicationsDELETEIdentifier, region
update_resourcerobot_applicationsUPDATEIdentifier, PatchDocument, region
list_resourcesrobot_applications_list_onlySELECTregion
get_resourcerobot_applicationsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual robot_application.

SELECT
region,
name,
sources,
environment,
robot_software_suite,
current_revision_id,
arn,
tags
FROM awscc.robomaker.robot_applications
WHERE
region = 'us-east-1' AND
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 awscc.robomaker.robot_applications (
RobotSoftwareSuite,
region
)
SELECT
'{{ robot_software_suite }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.robomaker.robot_applications
SET PatchDocument = string('{{ {
"Sources": sources,
"Environment": environment,
"RobotSoftwareSuite": robot_software_suite,
"CurrentRevisionId": current_revision_id,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ arn }}';

DELETE example

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

Permissions

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

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