simulation_application_versions
Creates, updates, deletes or gets a simulation_application_version
resource or lists simulation_application_versions
in a region
Overview
Name | simulation_application_versions |
Type | Resource |
Description | AWS::RoboMaker::SimulationApplicationVersion resource creates an AWS RoboMaker SimulationApplicationVersion. This helps you control which code your simulation uses. |
Id | aws.robomaker.simulation_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 simulation_application_version
.
SELECT
region,
application,
current_revision_id,
application_version,
arn
FROM aws.robomaker.simulation_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 simulation_application_version
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.robomaker.simulation_application_versions (
Application,
region
)
SELECT
'{{ Application }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.robomaker.simulation_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: simulation_application_version
props:
- name: Application
value: '{{ Application }}'
- name: CurrentRevisionId
value: '{{ CurrentRevisionId }}'
DELETE
example
/*+ delete */
DELETE FROM aws.robomaker.simulation_application_versions
WHERE data__Identifier = '<Arn>'
AND region = 'us-east-1';
Permissions
To operate on the simulation_application_versions
resource, the following permissions are required:
Create
robomaker:CreateSimulationApplicationVersion,
s3:GetObject,
ecr:BatchGetImage,
ecr:GetAuthorizationToken,
ecr:BatchCheckLayerAvailability,
ecr-public:GetAuthorizationToken,
sts:GetServiceBearerToken
Delete
robomaker:DeleteSimulationApplication,
robomaker:DescribeSimulationApplication
Read
robomaker:DescribeSimulationApplication