Class CfnRobotApplicationVersion

java.lang.Object
software.amazon.jsii.JsiiObject
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:34.993Z") @Stability(Stable) public class CfnRobotApplicationVersion extends CfnResource implements IInspectable
A CloudFormation AWS::RoboMaker::RobotApplicationVersion.

The AWS::RoboMaker::RobotApplicationVersion resource creates an AWS RoboMaker robot version.

Example:

 // 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.*;
 CfnRobotApplicationVersion cfnRobotApplicationVersion = CfnRobotApplicationVersion.Builder.create(this, "MyCfnRobotApplicationVersion")
         .application("application")
         // the properties below are optional
         .currentRevisionId("currentRevisionId")
         .build();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnRobotApplicationVersion

      protected CfnRobotApplicationVersion(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnRobotApplicationVersion

      protected CfnRobotApplicationVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnRobotApplicationVersion

      @Stability(Stable) public CfnRobotApplicationVersion(@NotNull Construct scope, @NotNull String id, @NotNull CfnRobotApplicationVersionProps props)
      Create a new AWS::RoboMaker::RobotApplicationVersion.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
      This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector -
      • tree inspector to collect and process attributes.
      This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrApplicationVersion

      @Stability(Stable) @NotNull public String getAttrApplicationVersion()
      The robot application version.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the robot application version.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getApplication

      @Stability(Stable) @NotNull public String getApplication()
      The application information for the robot application.
    • setApplication

      @Stability(Stable) public void setApplication(@NotNull String value)
      The application information for the robot application.
    • getCurrentRevisionId

      @Stability(Stable) @Nullable public String getCurrentRevisionId()
      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.

    • setCurrentRevisionId

      @Stability(Stable) public void setCurrentRevisionId(@Nullable String value)
      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.