Struct aws_sdk_robomaker::types::LaunchConfig
source · #[non_exhaustive]pub struct LaunchConfig {
pub package_name: Option<String>,
pub launch_file: Option<String>,
pub environment_variables: Option<HashMap<String, String>>,
pub port_forwarding_config: Option<PortForwardingConfig>,
pub stream_ui: bool,
pub command: Option<Vec<String>>,
}
Expand description
Information about a launch configuration.
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.package_name: Option<String>
The package name.
launch_file: Option<String>
The launch file name.
environment_variables: Option<HashMap<String, String>>
The environment variables for the application launch.
port_forwarding_config: Option<PortForwardingConfig>
The port forwarding configuration.
stream_ui: bool
Boolean indicating whether a streaming session will be configured for the application. If True
, AWS RoboMaker will configure a connection so you can interact with your application as it is running in the simulation. You must configure and launch the component. It must have a graphical user interface.
command: Option<Vec<String>>
If you've specified General
as the value for your RobotSoftwareSuite
, you can use this field to specify a list of commands for your container image.
If you've specified SimulationRuntime
as the value for your SimulationSoftwareSuite
, you can use this field to specify a list of commands for your container image.
Implementations§
source§impl LaunchConfig
impl LaunchConfig
sourcepub fn package_name(&self) -> Option<&str>
pub fn package_name(&self) -> Option<&str>
The package name.
sourcepub fn launch_file(&self) -> Option<&str>
pub fn launch_file(&self) -> Option<&str>
The launch file name.
sourcepub fn environment_variables(&self) -> Option<&HashMap<String, String>>
pub fn environment_variables(&self) -> Option<&HashMap<String, String>>
The environment variables for the application launch.
sourcepub fn port_forwarding_config(&self) -> Option<&PortForwardingConfig>
pub fn port_forwarding_config(&self) -> Option<&PortForwardingConfig>
The port forwarding configuration.
sourcepub fn stream_ui(&self) -> bool
pub fn stream_ui(&self) -> bool
Boolean indicating whether a streaming session will be configured for the application. If True
, AWS RoboMaker will configure a connection so you can interact with your application as it is running in the simulation. You must configure and launch the component. It must have a graphical user interface.
sourcepub fn command(&self) -> &[String]
pub fn command(&self) -> &[String]
If you've specified General
as the value for your RobotSoftwareSuite
, you can use this field to specify a list of commands for your container image.
If you've specified SimulationRuntime
as the value for your SimulationSoftwareSuite
, you can use this field to specify a list of commands for your container image.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .command.is_none()
.
source§impl LaunchConfig
impl LaunchConfig
sourcepub fn builder() -> LaunchConfigBuilder
pub fn builder() -> LaunchConfigBuilder
Creates a new builder-style object to manufacture LaunchConfig
.
Trait Implementations§
source§impl Clone for LaunchConfig
impl Clone for LaunchConfig
source§fn clone(&self) -> LaunchConfig
fn clone(&self) -> LaunchConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LaunchConfig
impl Debug for LaunchConfig
source§impl PartialEq for LaunchConfig
impl PartialEq for LaunchConfig
source§fn eq(&self, other: &LaunchConfig) -> bool
fn eq(&self, other: &LaunchConfig) -> bool
self
and other
values to be equal, and is used
by ==
.