Struct aws_sdk_robomaker::types::Tool
source · #[non_exhaustive]pub struct Tool {
pub stream_ui: Option<bool>,
pub name: Option<String>,
pub command: Option<String>,
pub stream_output_to_cloud_watch: Option<bool>,
pub exit_behavior: Option<ExitBehavior>,
}Expand description
Information about a tool. Tools are used in a simulation job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stream_ui: Option<bool>Boolean indicating whether a streaming session will be configured for the tool. If True, AWS RoboMaker will configure a connection so you can interact with the tool as it is running in the simulation. It must have a graphical user interface. The default is False.
name: Option<String>The name of the tool.
command: Option<String>Command-line arguments for the tool. It must include the tool executable name.
stream_output_to_cloud_watch: Option<bool>Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False.
exit_behavior: Option<ExitBehavior>Exit behavior determines what happens when your tool quits running. RESTART will cause your tool to be restarted. FAIL will cause your job to exit. The default is RESTART.
Implementations§
source§impl Tool
impl Tool
sourcepub fn stream_ui(&self) -> Option<bool>
pub fn stream_ui(&self) -> Option<bool>
Boolean indicating whether a streaming session will be configured for the tool. If True, AWS RoboMaker will configure a connection so you can interact with the tool as it is running in the simulation. It must have a graphical user interface. The default is False.
sourcepub fn command(&self) -> Option<&str>
pub fn command(&self) -> Option<&str>
Command-line arguments for the tool. It must include the tool executable name.
sourcepub fn stream_output_to_cloud_watch(&self) -> Option<bool>
pub fn stream_output_to_cloud_watch(&self) -> Option<bool>
Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default is False.
sourcepub fn exit_behavior(&self) -> Option<&ExitBehavior>
pub fn exit_behavior(&self) -> Option<&ExitBehavior>
Exit behavior determines what happens when your tool quits running. RESTART will cause your tool to be restarted. FAIL will cause your job to exit. The default is RESTART.