CfnRobotProps Struct
Properties for defining a CfnRobot.
| Source | |
|---|---|
| Type last changed |
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 cfnRobotProps: robomaker.CfnRobotProps = {
architecture: 'architecture',
greengrassGroupId: 'greengrassGroupId',
// the properties below are optional
fleet: 'fleet',
name: 'name',
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_props = robomaker.CfnRobotProps(
architecture="architecture",
greengrass_group_id="greengrassGroupId",
# the properties below are optional
fleet="fleet",
name="name",
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.*;
CfnRobotProps cfnRobotProps = CfnRobotProps.builder()
.architecture("architecture")
.greengrassGroupId("greengrassGroupId")
// the properties below are optional
.fleet("fleet")
.name("name")
.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 cfnRobotProps = new CfnRobotProps {
Architecture = "architecture",
GreengrassGroupId = "greengrassGroupId",
// the properties below are optional
Fleet = "fleet",
Name = "name",
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"
cfnRobotProps := &CfnRobotProps{
Architecture: jsii.String("architecture"),
GreengrassGroupId: jsii.String("greengrassGroupId"),
// the properties below are optional
Fleet: jsii.String("fleet"),
Name: jsii.String("name"),
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
}
Properties
The architecture of the robot.
fleetoptionalstring | IFleetReffleetoptionaltyping.Union[str, IFleetRef]fleetoptionalStringFleetoptionalstringFleetoptionalinterface{} #The Amazon Resource Name (ARN) of the fleet to which the robot will be registered.
greengrassGroupIdstringgreengrass_group_idstrgreengrassGroupIdStringGreengrassGroupIdstringGreengrassGroupId*string required #The Greengrass group associated with the robot.
The name of the robot.
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.