Skip to content
v2.278.0

CfnRobotApplicationProps Struct ​

Properties for defining a CfnRobotApplication.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_robomaker as robomaker } from 'aws-cdk-lib';
const cfnRobotApplicationProps: robomaker.CfnRobotApplicationProps = {
  robotSoftwareSuite: {
    name: 'name',

    // the properties below are optional
    version: 'version',
  },

  // the properties below are optional
  currentRevisionId: 'currentRevisionId',
  environment: 'environment',
  name: 'name',
  sources: [{
    architecture: 'architecture',
    s3Bucket: 's3Bucket',
    s3Key: 's3Key',
  }],
  tags: {
    tagsKey: 'tags',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_robomaker as robomaker

cfn_robot_application_props = robomaker.CfnRobotApplicationProps(
    robot_software_suite=robomaker.CfnRobotApplication.RobotSoftwareSuiteProperty(
        name="name",

        # the properties below are optional
        version="version"
    ),

    # the properties below are optional
    current_revision_id="currentRevisionId",
    environment="environment",
    name="name",
    sources=[robomaker.CfnRobotApplication.SourceConfigProperty(
        architecture="architecture",
        s3_bucket="s3Bucket",
        s3_key="s3Key"
    )],
    tags={
        "tags_key": "tags"
    }
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.robomaker.*;

CfnRobotApplicationProps cfnRobotApplicationProps = CfnRobotApplicationProps.builder()
        .robotSoftwareSuite(RobotSoftwareSuiteProperty.builder()
                .name("name")

                // the properties below are optional
                .version("version")
                .build())

        // the properties below are optional
        .currentRevisionId("currentRevisionId")
        .environment("environment")
        .name("name")
        .sources(List.of(SourceConfigProperty.builder()
                .architecture("architecture")
                .s3Bucket("s3Bucket")
                .s3Key("s3Key")
                .build()))
        .tags(Map.of(
                "tagsKey", "tags"))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RoboMaker;

var cfnRobotApplicationProps = new CfnRobotApplicationProps {
    RobotSoftwareSuite = new RobotSoftwareSuiteProperty {
        Name = "name",

        // the properties below are optional
        Version = "version"
    },

    // the properties below are optional
    CurrentRevisionId = "currentRevisionId",
    Environment = "environment",
    Name = "name",
    Sources = new [] { new SourceConfigProperty {
        Architecture = "architecture",
        S3Bucket = "s3Bucket",
        S3Key = "s3Key"
    } },
    Tags = new Dictionary<string, string> {
        { "tagsKey", "tags" }
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnRobotApplicationProps := &CfnRobotApplicationProps{
	RobotSoftwareSuite: &RobotSoftwareSuiteProperty{
		Name: jsii.String("name"),

		// the properties below are optional
		Version: jsii.String("version"),
	},

	// the properties below are optional
	CurrentRevisionId: jsii.String("currentRevisionId"),
	Environment: jsii.String("environment"),
	Name: jsii.String("name"),
	Sources: []interface{}{
		&SourceConfigProperty{
			Architecture: jsii.String("architecture"),
			S3Bucket: jsii.String("s3Bucket"),
			S3Key: jsii.String("s3Key"),
		},
	},
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}

Properties ​

currentRevisionIdoptionalstringcurrent_revision_idoptionalstrcurrentRevisionIdoptionalStringCurrentRevisionIdoptionalstringCurrentRevisionIdoptional*string #
The current revision id.
environmentoptionalstringenvironmentoptionalstrenvironmentoptionalStringEnvironmentoptionalstringEnvironmentoptional*string #
The environment of the robot application.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
The name of the robot application.
robotSoftwareSuiteIResolvable | CfnRobotApplication.RobotSoftwareSuitePropertyrobot_software_suitetyping.Union[IResolvable, RobotSoftwareSuiteProperty]robotSoftwareSuiteIResolvableRobotSoftwareSuiteIResolvableRobotSoftwareSuiteinterface{} required #
The robot software suite used by the robot application.
sourcesoptionalIResolvable | IResolvable | CfnRobotApplication.SourceConfigProperty[]sourcesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SourceConfigProperty]]]sourcesoptionalIResolvableSourcesoptionalIResolvableSourcesoptionalinterface{} #
The sources of the robot application.
tagsoptional{ [key: string]: string }tagsoptionaltyping.Mapping[str, str]tagsoptionalMap<String, String>TagsoptionalIDictionary<string, string>Tagsoptional*map[string]*string #
A map that contains tag keys and tag values that are attached to the robot application.