Skip to content
v2.277.0

CfnRobotApplicationVersionProps Struct ​

Properties for defining a CfnRobotApplicationVersion.

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 cfnRobotApplicationVersionProps: robomaker.CfnRobotApplicationVersionProps = {
  application: 'application',

  // the properties below are optional
  currentRevisionId: 'currentRevisionId',
};
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_version_props = robomaker.CfnRobotApplicationVersionProps(
    application="application",

    # the properties below are optional
    current_revision_id="currentRevisionId"
)
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.*;

CfnRobotApplicationVersionProps cfnRobotApplicationVersionProps = CfnRobotApplicationVersionProps.builder()
        .application("application")

        // the properties below are optional
        .currentRevisionId("currentRevisionId")
        .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 cfnRobotApplicationVersionProps = new CfnRobotApplicationVersionProps {
    Application = "application",

    // the properties below are optional
    CurrentRevisionId = "currentRevisionId"
};
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"

cfnRobotApplicationVersionProps := &CfnRobotApplicationVersionProps{
	Application: jsii.String("application"),

	// the properties below are optional
	CurrentRevisionId: jsii.String("currentRevisionId"),
}

Properties ​

applicationstring | IRobotApplicationRefapplicationtyping.Union[str, IRobotApplicationRef]applicationStringApplicationstringApplicationinterface{}required#
The application information for the robot application.
currentRevisionIdoptionalstringcurrent_revision_idoptionalstrcurrentRevisionIdoptionalStringCurrentRevisionIdoptionalstringCurrentRevisionIdoptional*string#
The current revision id for the robot application.

If you provide a value and it matches the latest revision ID, a new version will be created.