# CfnRobotApplicationProps

Properties for defining a `CfnRobotApplication`.

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

- Source: Generated at build time
- Type last changed: v2.11.0 · 8 Feb 2022

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

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

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

C# / .NET:

```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" }
    }
};
```

Golang:

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

- `currentRevisionId`: string — The current revision id.

- `environment`: string — The environment of the robot application.

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

- `robotSoftwareSuite`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRobotApplication.RobotSoftwareSuiteProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_robomaker.CfnRobotApplication.RobotSoftwareSuiteProperty.html) (required) — The robot software suite used by the robot application.

- `sources`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRobotApplication.SourceConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_robomaker.CfnRobotApplication.SourceConfigProperty.html)[] — The sources of the robot application.

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