Struct aws_sdk_ecs::model::ExecuteCommandConfiguration
source · [−]#[non_exhaustive]pub struct ExecuteCommandConfiguration {
pub kms_key_id: Option<String>,
pub logging: Option<ExecuteCommandLogging>,
pub log_configuration: Option<ExecuteCommandLogConfiguration>,
}
Expand description
The details of the execute command 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.kms_key_id: Option<String>
Specify an Key Management Service key ID to encrypt the data between the local client and the container.
logging: Option<ExecuteCommandLogging>
The log setting to use for redirecting logs for your execute command results. The following log settings are available.
-
NONE
: The execute command session is not logged. -
DEFAULT
: Theawslogs
configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If noawslogs
log driver is configured in the task definition, the output won't be logged. -
OVERRIDE
: Specify the logging details as a part oflogConfiguration
. If theOVERRIDE
logging option is specified, thelogConfiguration
is required.
log_configuration: Option<ExecuteCommandLogConfiguration>
The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When logging=OVERRIDE
is specified, a logConfiguration
must be provided.
Implementations
sourceimpl ExecuteCommandConfiguration
impl ExecuteCommandConfiguration
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
Specify an Key Management Service key ID to encrypt the data between the local client and the container.
sourcepub fn logging(&self) -> Option<&ExecuteCommandLogging>
pub fn logging(&self) -> Option<&ExecuteCommandLogging>
The log setting to use for redirecting logs for your execute command results. The following log settings are available.
-
NONE
: The execute command session is not logged. -
DEFAULT
: Theawslogs
configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If noawslogs
log driver is configured in the task definition, the output won't be logged. -
OVERRIDE
: Specify the logging details as a part oflogConfiguration
. If theOVERRIDE
logging option is specified, thelogConfiguration
is required.
sourcepub fn log_configuration(&self) -> Option<&ExecuteCommandLogConfiguration>
pub fn log_configuration(&self) -> Option<&ExecuteCommandLogConfiguration>
The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket. When logging=OVERRIDE
is specified, a logConfiguration
must be provided.
sourceimpl ExecuteCommandConfiguration
impl ExecuteCommandConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ExecuteCommandConfiguration
Trait Implementations
sourceimpl Clone for ExecuteCommandConfiguration
impl Clone for ExecuteCommandConfiguration
sourcefn clone(&self) -> ExecuteCommandConfiguration
fn clone(&self) -> ExecuteCommandConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ExecuteCommandConfiguration
impl Debug for ExecuteCommandConfiguration
sourceimpl PartialEq<ExecuteCommandConfiguration> for ExecuteCommandConfiguration
impl PartialEq<ExecuteCommandConfiguration> for ExecuteCommandConfiguration
sourcefn eq(&self, other: &ExecuteCommandConfiguration) -> bool
fn eq(&self, other: &ExecuteCommandConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ExecuteCommandConfiguration) -> bool
fn ne(&self, other: &ExecuteCommandConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for ExecuteCommandConfiguration
Auto Trait Implementations
impl RefUnwindSafe for ExecuteCommandConfiguration
impl Send for ExecuteCommandConfiguration
impl Sync for ExecuteCommandConfiguration
impl Unpin for ExecuteCommandConfiguration
impl UnwindSafe for ExecuteCommandConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more