aws-native logo
AWS Native v0.49.0, Jan 26 23

aws-native.robomaker.RobotApplication

This schema is for testing purpose only.

Example Usage

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var basicRobotApplication = new AwsNative.RoboMaker.RobotApplication("basicRobotApplication", new()
    {
        Name = "MyRobotApplication",
        Sources = new[]
        {
            new AwsNative.RoboMaker.Inputs.RobotApplicationSourceConfigArgs
            {
                S3Bucket = "my-bucket",
                S3Key = "robot_bundle_x86.tar.gz",
                Architecture = AwsNative.RoboMaker.RobotApplicationSourceConfigArchitecture.Armhf,
            },
        },
        RobotSoftwareSuite = new AwsNative.RoboMaker.Inputs.RobotApplicationRobotSoftwareSuiteArgs
        {
            Name = AwsNative.RoboMaker.RobotApplicationRobotSoftwareSuiteName.Ros,
            Version = AwsNative.RoboMaker.RobotApplicationRobotSoftwareSuiteVersion.Kinetic,
        },
    });

    var basicRobotApplicationVersion = new AwsNative.RoboMaker.RobotApplicationVersion("basicRobotApplicationVersion", new()
    {
        Application = basicRobotApplication.Arn,
        CurrentRevisionId = basicRobotApplication.Current_revision_id,
    });

    return new Dictionary<string, object?>
    {
        ["robotApplicationVersion"] = "BasicRobotApplicationVersion",
    };
});
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/robomaker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basicRobotApplication, err := robomaker.NewRobotApplication(ctx, "basicRobotApplication", &robomaker.RobotApplicationArgs{
			Name: pulumi.String("MyRobotApplication"),
			Sources: []robomaker.RobotApplicationSourceConfigArgs{
				{
					S3Bucket:     pulumi.String("my-bucket"),
					S3Key:        pulumi.String("robot_bundle_x86.tar.gz"),
					Architecture: robomaker.RobotApplicationSourceConfigArchitectureArmhf,
				},
			},
			RobotSoftwareSuite: &robomaker.RobotApplicationRobotSoftwareSuiteArgs{
				Name:    robomaker.RobotApplicationRobotSoftwareSuiteNameRos,
				Version: robomaker.RobotApplicationRobotSoftwareSuiteVersionKinetic,
			},
		})
		if err != nil {
			return err
		}
		_, err = robomaker.NewRobotApplicationVersion(ctx, "basicRobotApplicationVersion", &robomaker.RobotApplicationVersionArgs{
			Application:       basicRobotApplication.Arn,
			CurrentRevisionId: basicRobotApplication.Current_revision_id,
		})
		if err != nil {
			return err
		}
		ctx.Export("robotApplicationVersion", "BasicRobotApplicationVersion")
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

basic_robot_application = aws_native.robomaker.RobotApplication("basicRobotApplication",
    name="MyRobotApplication",
    sources=[aws_native.robomaker.RobotApplicationSourceConfigArgs(
        s3_bucket="my-bucket",
        s3_key="robot_bundle_x86.tar.gz",
        architecture=aws_native.robomaker.RobotApplicationSourceConfigArchitecture.ARMHF,
    )],
    robot_software_suite=aws_native.robomaker.RobotApplicationRobotSoftwareSuiteArgs(
        name=aws_native.robomaker.RobotApplicationRobotSoftwareSuiteName.ROS,
        version=aws_native.robomaker.RobotApplicationRobotSoftwareSuiteVersion.KINETIC,
    ))
basic_robot_application_version = aws_native.robomaker.RobotApplicationVersion("basicRobotApplicationVersion",
    application=basic_robot_application.arn,
    current_revision_id=basic_robot_application.current_revision_id)
pulumi.export("robotApplicationVersion", "BasicRobotApplicationVersion")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const basicRobotApplication = new aws_native.robomaker.RobotApplication("basicRobotApplication", {
    name: "MyRobotApplication",
    sources: [{
        s3Bucket: "my-bucket",
        s3Key: "robot_bundle_x86.tar.gz",
        architecture: aws_native.robomaker.RobotApplicationSourceConfigArchitecture.Armhf,
    }],
    robotSoftwareSuite: {
        name: aws_native.robomaker.RobotApplicationRobotSoftwareSuiteName.Ros,
        version: aws_native.robomaker.RobotApplicationRobotSoftwareSuiteVersion.Kinetic,
    },
});
const basicRobotApplicationVersion = new aws_native.robomaker.RobotApplicationVersion("basicRobotApplicationVersion", {
    application: basicRobotApplication.arn,
    currentRevisionId: basicRobotApplication.currentRevisionId,
});
export const robotApplicationVersion = "BasicRobotApplicationVersion";

Coming soon!

Example

using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var basicRobotApplication = new AwsNative.RoboMaker.RobotApplication("basicRobotApplication", new()
    {
        Name = "MyRobotApplication",
        Sources = new[]
        {
            new AwsNative.RoboMaker.Inputs.RobotApplicationSourceConfigArgs
            {
                S3Bucket = "my-bucket",
                S3Key = "robot_bundle_x86.tar.gz",
                Architecture = AwsNative.RoboMaker.RobotApplicationSourceConfigArchitecture.Armhf,
            },
        },
        RobotSoftwareSuite = new AwsNative.RoboMaker.Inputs.RobotApplicationRobotSoftwareSuiteArgs
        {
            Name = AwsNative.RoboMaker.RobotApplicationRobotSoftwareSuiteName.Ros,
            Version = AwsNative.RoboMaker.RobotApplicationRobotSoftwareSuiteVersion.Kinetic,
        },
    });

    var basicRobotApplicationVersion = new AwsNative.RoboMaker.RobotApplicationVersion("basicRobotApplicationVersion", new()
    {
        Application = basicRobotApplication.Arn,
        CurrentRevisionId = basicRobotApplication.Current_revision_id,
    });

    return new Dictionary<string, object?>
    {
        ["robotApplicationVersion"] = basicRobotApplicationVersion.Id,
    };
});
package main

import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/robomaker"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basicRobotApplication, err := robomaker.NewRobotApplication(ctx, "basicRobotApplication", &robomaker.RobotApplicationArgs{
			Name: pulumi.String("MyRobotApplication"),
			Sources: []robomaker.RobotApplicationSourceConfigArgs{
				{
					S3Bucket:     pulumi.String("my-bucket"),
					S3Key:        pulumi.String("robot_bundle_x86.tar.gz"),
					Architecture: robomaker.RobotApplicationSourceConfigArchitectureArmhf,
				},
			},
			RobotSoftwareSuite: &robomaker.RobotApplicationRobotSoftwareSuiteArgs{
				Name:    robomaker.RobotApplicationRobotSoftwareSuiteNameRos,
				Version: robomaker.RobotApplicationRobotSoftwareSuiteVersionKinetic,
			},
		})
		if err != nil {
			return err
		}
		basicRobotApplicationVersion, err := robomaker.NewRobotApplicationVersion(ctx, "basicRobotApplicationVersion", &robomaker.RobotApplicationVersionArgs{
			Application:       basicRobotApplication.Arn,
			CurrentRevisionId: basicRobotApplication.Current_revision_id,
		})
		if err != nil {
			return err
		}
		ctx.Export("robotApplicationVersion", basicRobotApplicationVersion.ID())
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_aws_native as aws_native

basic_robot_application = aws_native.robomaker.RobotApplication("basicRobotApplication",
    name="MyRobotApplication",
    sources=[aws_native.robomaker.RobotApplicationSourceConfigArgs(
        s3_bucket="my-bucket",
        s3_key="robot_bundle_x86.tar.gz",
        architecture=aws_native.robomaker.RobotApplicationSourceConfigArchitecture.ARMHF,
    )],
    robot_software_suite=aws_native.robomaker.RobotApplicationRobotSoftwareSuiteArgs(
        name=aws_native.robomaker.RobotApplicationRobotSoftwareSuiteName.ROS,
        version=aws_native.robomaker.RobotApplicationRobotSoftwareSuiteVersion.KINETIC,
    ))
basic_robot_application_version = aws_native.robomaker.RobotApplicationVersion("basicRobotApplicationVersion",
    application=basic_robot_application.arn,
    current_revision_id=basic_robot_application.current_revision_id)
pulumi.export("robotApplicationVersion", basic_robot_application_version.id)
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const basicRobotApplication = new aws_native.robomaker.RobotApplication("basicRobotApplication", {
    name: "MyRobotApplication",
    sources: [{
        s3Bucket: "my-bucket",
        s3Key: "robot_bundle_x86.tar.gz",
        architecture: aws_native.robomaker.RobotApplicationSourceConfigArchitecture.Armhf,
    }],
    robotSoftwareSuite: {
        name: aws_native.robomaker.RobotApplicationRobotSoftwareSuiteName.Ros,
        version: aws_native.robomaker.RobotApplicationRobotSoftwareSuiteVersion.Kinetic,
    },
});
const basicRobotApplicationVersion = new aws_native.robomaker.RobotApplicationVersion("basicRobotApplicationVersion", {
    application: basicRobotApplication.arn,
    currentRevisionId: basicRobotApplication.currentRevisionId,
});
export const robotApplicationVersion = basicRobotApplicationVersion.id;

Coming soon!

Create RobotApplication Resource

new RobotApplication(name: string, args: RobotApplicationArgs, opts?: CustomResourceOptions);
@overload
def RobotApplication(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     current_revision_id: Optional[str] = None,
                     environment: Optional[str] = None,
                     name: Optional[str] = None,
                     robot_software_suite: Optional[RobotApplicationRobotSoftwareSuiteArgs] = None,
                     sources: Optional[Sequence[RobotApplicationSourceConfigArgs]] = None,
                     tags: Optional[RobotApplicationTagsArgs] = None)
@overload
def RobotApplication(resource_name: str,
                     args: RobotApplicationArgs,
                     opts: Optional[ResourceOptions] = None)
func NewRobotApplication(ctx *Context, name string, args RobotApplicationArgs, opts ...ResourceOption) (*RobotApplication, error)
public RobotApplication(string name, RobotApplicationArgs args, CustomResourceOptions? opts = null)
public RobotApplication(String name, RobotApplicationArgs args)
public RobotApplication(String name, RobotApplicationArgs args, CustomResourceOptions options)
type: aws-native:robomaker:RobotApplication
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args RobotApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args RobotApplicationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args RobotApplicationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RobotApplicationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args RobotApplicationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

RobotApplication Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The RobotApplication resource accepts the following input properties:

RobotSoftwareSuite Pulumi.AwsNative.RoboMaker.Inputs.RobotApplicationRobotSoftwareSuiteArgs
CurrentRevisionId string

The revision ID of robot application.

Environment string

The URI of the Docker image for the robot application.

Name string

The name of the robot application.

Sources List<Pulumi.AwsNative.RoboMaker.Inputs.RobotApplicationSourceConfigArgs>

The sources of the robot application.

Tags Pulumi.AwsNative.RoboMaker.Inputs.RobotApplicationTagsArgs
RobotSoftwareSuite RobotApplicationRobotSoftwareSuiteArgs
CurrentRevisionId string

The revision ID of robot application.

Environment string

The URI of the Docker image for the robot application.

Name string

The name of the robot application.

Sources []RobotApplicationSourceConfigArgs

The sources of the robot application.

Tags RobotApplicationTagsArgs
robotSoftwareSuite RobotApplicationRobotSoftwareSuiteArgs
currentRevisionId String

The revision ID of robot application.

environment String

The URI of the Docker image for the robot application.

name String

The name of the robot application.

sources List<RobotApplicationSourceConfigArgs>

The sources of the robot application.

tags RobotApplicationTagsArgs
robotSoftwareSuite RobotApplicationRobotSoftwareSuiteArgs
currentRevisionId string

The revision ID of robot application.

environment string

The URI of the Docker image for the robot application.

name string

The name of the robot application.

sources RobotApplicationSourceConfigArgs[]

The sources of the robot application.

tags RobotApplicationTagsArgs
robot_software_suite RobotApplicationRobotSoftwareSuiteArgs
current_revision_id str

The revision ID of robot application.

environment str

The URI of the Docker image for the robot application.

name str

The name of the robot application.

sources Sequence[RobotApplicationSourceConfigArgs]

The sources of the robot application.

tags RobotApplicationTagsArgs
robotSoftwareSuite Property Map
currentRevisionId String

The revision ID of robot application.

environment String

The URI of the Docker image for the robot application.

name String

The name of the robot application.

sources List<Property Map>

The sources of the robot application.

tags Property Map

Outputs

All input properties are implicitly available as output properties. Additionally, the RobotApplication resource produces the following output properties:

Arn string
Id string

The provider-assigned unique ID for this managed resource.

Arn string
Id string

The provider-assigned unique ID for this managed resource.

arn String
id String

The provider-assigned unique ID for this managed resource.

arn string
id string

The provider-assigned unique ID for this managed resource.

arn str
id str

The provider-assigned unique ID for this managed resource.

arn String
id String

The provider-assigned unique ID for this managed resource.

Supporting Types

RobotApplicationRobotSoftwareSuite

Name RobotApplicationRobotSoftwareSuiteName

The name of robot software suite.

Version RobotApplicationRobotSoftwareSuiteVersion

The version of robot software suite.

name RobotApplicationRobotSoftwareSuiteName

The name of robot software suite.

version RobotApplicationRobotSoftwareSuiteVersion

The version of robot software suite.

name RobotApplicationRobotSoftwareSuiteName

The name of robot software suite.

version RobotApplicationRobotSoftwareSuiteVersion

The version of robot software suite.

name RobotApplicationRobotSoftwareSuiteName

The name of robot software suite.

version RobotApplicationRobotSoftwareSuiteVersion

The version of robot software suite.

name "ROS" | "ROS2" | "General"

The name of robot software suite.

version "Kinetic" | "Melodic" | "Dashing"

The version of robot software suite.

RobotApplicationRobotSoftwareSuiteName

Ros
ROS
Ros2
ROS2
General
General
RobotApplicationRobotSoftwareSuiteNameRos
ROS
RobotApplicationRobotSoftwareSuiteNameRos2
ROS2
RobotApplicationRobotSoftwareSuiteNameGeneral
General
Ros
ROS
Ros2
ROS2
General
General
Ros
ROS
Ros2
ROS2
General
General
ROS
ROS
ROS2
ROS2
GENERAL
General
"ROS"
ROS
"ROS2"
ROS2
"General"
General

RobotApplicationRobotSoftwareSuiteVersion

Kinetic
Kinetic
Melodic
Melodic
Dashing
Dashing
RobotApplicationRobotSoftwareSuiteVersionKinetic
Kinetic
RobotApplicationRobotSoftwareSuiteVersionMelodic
Melodic
RobotApplicationRobotSoftwareSuiteVersionDashing
Dashing
Kinetic
Kinetic
Melodic
Melodic
Dashing
Dashing
Kinetic
Kinetic
Melodic
Melodic
Dashing
Dashing
KINETIC
Kinetic
MELODIC
Melodic
DASHING
Dashing
"Kinetic"
Kinetic
"Melodic"
Melodic
"Dashing"
Dashing

RobotApplicationSourceConfig

Architecture Pulumi.AwsNative.RoboMaker.RobotApplicationSourceConfigArchitecture

The architecture of robot application.

S3Bucket string

The Arn of the S3Bucket that stores the robot application source.

S3Key string

The s3 key of robot application source.

Architecture RobotApplicationSourceConfigArchitecture

The architecture of robot application.

S3Bucket string

The Arn of the S3Bucket that stores the robot application source.

S3Key string

The s3 key of robot application source.

architecture RobotApplicationSourceConfigArchitecture

The architecture of robot application.

s3Bucket String

The Arn of the S3Bucket that stores the robot application source.

s3Key String

The s3 key of robot application source.

architecture RobotApplicationSourceConfigArchitecture

The architecture of robot application.

s3Bucket string

The Arn of the S3Bucket that stores the robot application source.

s3Key string

The s3 key of robot application source.

architecture RobotApplicationSourceConfigArchitecture

The architecture of robot application.

s3_bucket str

The Arn of the S3Bucket that stores the robot application source.

s3_key str

The s3 key of robot application source.

architecture "X86_64" | "ARM64" | "ARMHF"

The architecture of robot application.

s3Bucket String

The Arn of the S3Bucket that stores the robot application source.

s3Key String

The s3 key of robot application source.

RobotApplicationSourceConfigArchitecture

X8664
X86_64
Arm64
ARM64
Armhf
ARMHF
RobotApplicationSourceConfigArchitectureX8664
X86_64
RobotApplicationSourceConfigArchitectureArm64
ARM64
RobotApplicationSourceConfigArchitectureArmhf
ARMHF
X8664
X86_64
Arm64
ARM64
Armhf
ARMHF
X8664
X86_64
Arm64
ARM64
Armhf
ARMHF
X8664
X86_64
ARM64
ARM64
ARMHF
ARMHF
"X86_64"
X86_64
"ARM64"
ARM64
"ARMHF"
ARMHF

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0