robot_application_versions
Creates, updates, deletes or gets a robot_application_version
resource or lists robot_application_versions
in a region
Overview
Name | robot_application_versions |
Type | Resource |
Description | AWS::RoboMaker::RobotApplicationVersion resource creates an AWS RoboMaker RobotApplicationVersion. This helps you control which code your robot uses. |
Id | aws.robomaker.robot_application_versions |
Fields
Name | Datatype | Description |
---|---|---|
application | string | |
current_revision_id | string | The revision ID of robot application. |
application_version | string | |
arn | string | |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | Application, region |
delete_resource | DELETE | data__Identifier, region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all properties from an individual robot_application_version
.
SELECT
region,
application,
current_revision_id,
application_version,
arn
FROM aws.robomaker.robot_application_versions
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_version
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.robomaker.robot_application_versions (
Application,
region
)
SELECT
'{{ Application }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.robomaker.robot_application_versions (
Application,
CurrentRevisionId,
region
)
SELECT
'{{ Application }}',
'{{ CurrentRevisionId }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: robot_application_version
props:
- name: Application
value: '{{ Application }}'
- name: CurrentRevisionId
value: '{{ CurrentRevisionId }}'
DELETE
example
/*+ delete */
DELETE FROM aws.robomaker.robot_application_versions
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';
Permissions
To operate on the robot_application_versions
resource, the following permissions are required:
Create
robomaker:CreateRobotApplicationVersion,
s3:GetObject,
ecr:BatchGetImage,
ecr:GetAuthorizationToken,
ecr:BatchCheckLayerAvailability,
ecr-public:GetAuthorizationToken,
sts:GetServiceBearerToken
Delete
robomaker:DeleteRobotApplication,
robomaker:DescribeRobotApplication
Read
robomaker:DescribeRobotApplication