Skip to main content

simulation_applications

Creates, updates, deletes or gets a simulation_application resource or lists simulation_applications in a region

Overview

Namesimulation_applications
TypeResource
DescriptionThis schema is for testing purpose only.
Idawscc.robomaker.simulation_applications

Fields

NameDatatypeDescription
arnstring
namestringThe name of the simulation application.
current_revision_idstringThe current revision id.
rendering_engineobjectThe rendering engine for the simulation application.
robot_software_suiteobjectThe robot software suite used by the simulation application.
simulation_software_suiteobjectThe simulation software suite used by the simulation application.
sourcesarrayThe sources of the simulation application.
environmentstringThe URI of the Docker image for the robot application.
tagsobjectA key-value pair to associate with a resource.
regionstringAWS region.

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

Methods

NameResourceAccessible byRequired Params
create_resourcesimulation_applicationsINSERTRobotSoftwareSuite, SimulationSoftwareSuite, region
delete_resourcesimulation_applicationsDELETEIdentifier, region
update_resourcesimulation_applicationsUPDATEIdentifier, PatchDocument, region
list_resourcessimulation_applications_list_onlySELECTregion
get_resourcesimulation_applicationsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual simulation_application.

SELECT
region,
arn,
name,
current_revision_id,
rendering_engine,
robot_software_suite,
simulation_software_suite,
sources,
environment,
tags
FROM awscc.robomaker.simulation_applications
WHERE
region = 'us-east-1' AND
Identifier = '{{ arn }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.robomaker.simulation_applications (
RobotSoftwareSuite,
SimulationSoftwareSuite,
region
)
SELECT
'{{ robot_software_suite }}',
'{{ simulation_software_suite }}',
'{{ region }}';

UPDATE example

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

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

DELETE example

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

Permissions

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

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