Class CfnRobotApplication

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.989Z") @Stability(Stable) public class CfnRobotApplication extends CfnResource implements IInspectable
A CloudFormation AWS::RoboMaker::RobotApplication.

The AWS::RoboMaker::RobotApplication resource creates an AWS RoboMaker robot application.

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.*;
 CfnRobotApplication cfnRobotApplication = CfnRobotApplication.Builder.create(this, "MyCfnRobotApplication")
         .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();
 
  • 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

    • CfnRobotApplication

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

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

      @Stability(Stable) public CfnRobotApplication(@NotNull Construct scope, @NotNull String id, @NotNull CfnRobotApplicationProps props)
      Create a new AWS::RoboMaker::RobotApplication.

      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.
    • getAttrArn

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

      @Stability(Stable) @NotNull public String getAttrCurrentRevisionId()
      The current revision id.
    • getCfnProperties

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

      @Stability(Stable) @NotNull public TagManager getTags()
      A map that contains tag keys and tag values that are attached to the robot application.
    • getRobotSoftwareSuite

      @Stability(Stable) @NotNull public Object getRobotSoftwareSuite()
      The robot software suite used by the robot application.
    • setRobotSoftwareSuite

      @Stability(Stable) public void setRobotSoftwareSuite(@NotNull CfnRobotApplication.RobotSoftwareSuiteProperty value)
      The robot software suite used by the robot application.
    • setRobotSoftwareSuite

      @Stability(Stable) public void setRobotSoftwareSuite(@NotNull IResolvable value)
      The robot software suite used by the robot application.
    • getCurrentRevisionId

      @Stability(Stable) @Nullable public String getCurrentRevisionId()
      The current revision id.
    • setCurrentRevisionId

      @Stability(Stable) public void setCurrentRevisionId(@Nullable String value)
      The current revision id.
    • getEnvironment

      @Stability(Stable) @Nullable public String getEnvironment()
      The environment of the robot application.
    • setEnvironment

      @Stability(Stable) public void setEnvironment(@Nullable String value)
      The environment of the robot application.
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name of the robot application.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The name of the robot application.
    • getSources

      @Stability(Stable) @Nullable public Object getSources()
      The sources of the robot application.
    • setSources

      @Stability(Stable) public void setSources(@Nullable IResolvable value)
      The sources of the robot application.
    • setSources

      @Stability(Stable) public void setSources(@Nullable List<Object> value)
      The sources of the robot application.