# CfnRobotProps

Struct · External

Properties for defining a `CfnRobot`.

Used as props by: [CfnRobot](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_robomaker.CfnRobot.html)

- Source: Generated at build time
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C#:

```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:

```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

- `architecture`: string (required) — The architecture of the robot.

- `fleet`: string | [IFleetRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_robomaker.IFleetRef.html) — The Amazon Resource Name (ARN) of the fleet to which the robot will be registered.

- `greengrassGroupId`: string (required) — The Greengrass group associated with the robot.

- `name`: string — The name of the robot.

- `tags`: { [key: string]: string } — A map that contains tag keys and tag values that are attached to the robot.
