Struct aws_sdk_ecs::types::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: Theawslogsconfiguration in the task definition is used. If no logging parameter is specified, it defaults to this value. If noawslogslog driver is configured in the task definition, the output won't be logged. -
OVERRIDE: Specify the logging details as a part oflogConfiguration. If theOVERRIDElogging option is specified, thelogConfigurationis 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§
source§impl 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: Theawslogsconfiguration in the task definition is used. If no logging parameter is specified, it defaults to this value. If noawslogslog driver is configured in the task definition, the output won't be logged. -
OVERRIDE: Specify the logging details as a part oflogConfiguration. If theOVERRIDElogging option is specified, thelogConfigurationis 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.
source§impl ExecuteCommandConfiguration
impl ExecuteCommandConfiguration
sourcepub fn builder() -> ExecuteCommandConfigurationBuilder
pub fn builder() -> ExecuteCommandConfigurationBuilder
Creates a new builder-style object to manufacture ExecuteCommandConfiguration.
Trait Implementations§
source§impl Clone for ExecuteCommandConfiguration
impl Clone for ExecuteCommandConfiguration
source§fn clone(&self) -> ExecuteCommandConfiguration
fn clone(&self) -> ExecuteCommandConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExecuteCommandConfiguration
impl Debug for ExecuteCommandConfiguration
impl StructuralPartialEq for ExecuteCommandConfiguration
Auto Trait Implementations§
impl Freeze for ExecuteCommandConfiguration
impl RefUnwindSafe for ExecuteCommandConfiguration
impl Send for ExecuteCommandConfiguration
impl Sync for ExecuteCommandConfiguration
impl Unpin for ExecuteCommandConfiguration
impl UnwindSafe for ExecuteCommandConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more