AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS::RoboMaker::RobotApplication

The AWS::RoboMaker::RobotApplication resource creates an AWS RoboMaker robot application. For more information, see API_CreateRobotApplication in the RoboMaker Developer Guide.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::RoboMaker::RobotApplication", "Properties" : { "CurrentRevisionId" : String, "Name" : String, "RobotSoftwareSuite" : RobotSoftwareSuite, "Sources" : [ SourceConfig, ... ], "Tags" : JSON object } }

YAML

Type: "AWS::RoboMaker::RobotApplication" Properties: CurrentRevisionId: String Name: String RobotSoftwareSuite: RobotSoftwareSuite Sources: - SourceConfig Tags: JSON object

Properties

CurrentRevisionId

The current revision id.

Required: No

Type: String

Update requires: No interruption

Name

The name of the robot application.

Required: No

Type: String

Update requires: Replacement

RobotSoftwareSuite

The robot software suite.

Required: Yes

Type: RobotSoftwareSuite

Update requires: Replacement

Sources

The sources of the robot application.

Required: Yes

Type: List of SourceConfig property types

Update requires: No interruption

Tags

An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

Required: No

Type: JSON object

Update requires: No interruption

Return Values

Ref

When you pass the logical ID of an AWS::RoboMaker::RobotApplication resource to the intrinsic Ref function, the function returns the Amazon Resource Name (ARN) of the robot application, such as arn:aws:robomaker:us-west-2:123456789012:robot-application/MyRobotApplication/1546541208251.

For more information about using the Ref function, see Ref.

Fn::GetAtt

Fn::GetAtt returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

Arn

The Amazon Resource Name (ARN) of the robot application, such as arn:aws:robomaker:us-west-2:123456789012:robot-application/MyRobotApplication/1546541208251.

CurrentRevisionId

The current revision id, such as 2.

For more information about using Fn::GetAtt, see Fn::GetAtt.

Examples

Create an AWS RoboMaker Robot Application

The following example creates a robot application.

JSON

{ "Description": "Robot Application example", "Resources": { "BasicRobotApplication": { "Type": "AWS::RoboMaker::RobotApplication", "Properties": { "Name": "MyRobotApplication", "Sources": [ { "S3Bucket": "my-bucket", "S3Key": "robot_bundle_x86.tar.gz", "Architecture": "ARMHF" } ], "RobotSoftwareSuite": { "Name": "ROS", "Version": "Kinetic" }, "Tags": { "Name": "BasicRobotApplication", "Type": "CFN" } } } }, "Outputs": { "RobotApplication": { "Value": "BasicRobotApplication" } } }

YAML

--- Description: "Basic RobotApplication test" Resources: BasicRobotApplication: Type: "AWS::RoboMaker::RobotApplication" Properties: Name: "MyRobotApplication" Sources: - S3Bucket: "my-bucket" S3Key: "robot_bundle_x86.tar.gz" Architecture: "ARMHF" RobotSoftwareSuite: Name: "ROS" Version: "Kinetic" Tags: "Name" : "BasicRobotApplication" "Type" : "CFN" Outputs: RobotApplication: Value: !Ref BasicRobotApplication