Struct aws_sdk_ecs::operation::execute_command::ExecuteCommandInput
source · #[non_exhaustive]pub struct ExecuteCommandInput {
pub cluster: Option<String>,
pub container: Option<String>,
pub command: Option<String>,
pub interactive: Option<bool>,
pub task: Option<String>,
}
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.cluster: Option<String>
The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.
container: Option<String>
The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.
command: Option<String>
The command to run on the container.
interactive: Option<bool>
Use this flag to run your command in interactive mode.
task: Option<String>
The Amazon Resource Name (ARN) or ID of the task the container is part of.
Implementations§
source§impl ExecuteCommandInput
impl ExecuteCommandInput
sourcepub fn cluster(&self) -> Option<&str>
pub fn cluster(&self) -> Option<&str>
The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.
sourcepub fn container(&self) -> Option<&str>
pub fn container(&self) -> Option<&str>
The name of the container to execute the command on. A container name only needs to be specified for tasks containing multiple containers.
sourcepub fn interactive(&self) -> Option<bool>
pub fn interactive(&self) -> Option<bool>
Use this flag to run your command in interactive mode.
source§impl ExecuteCommandInput
impl ExecuteCommandInput
sourcepub fn builder() -> ExecuteCommandInputBuilder
pub fn builder() -> ExecuteCommandInputBuilder
Creates a new builder-style object to manufacture ExecuteCommandInput
.
Trait Implementations§
source§impl Clone for ExecuteCommandInput
impl Clone for ExecuteCommandInput
source§fn clone(&self) -> ExecuteCommandInput
fn clone(&self) -> ExecuteCommandInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExecuteCommandInput
impl Debug for ExecuteCommandInput
source§impl PartialEq<ExecuteCommandInput> for ExecuteCommandInput
impl PartialEq<ExecuteCommandInput> for ExecuteCommandInput
source§fn eq(&self, other: &ExecuteCommandInput) -> bool
fn eq(&self, other: &ExecuteCommandInput) -> bool
self
and other
values to be equal, and is used
by ==
.