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
: 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§
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
: 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.
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
source§impl PartialEq for ExecuteCommandConfiguration
impl PartialEq for ExecuteCommandConfiguration
source§fn eq(&self, other: &ExecuteCommandConfiguration) -> bool
fn eq(&self, other: &ExecuteCommandConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.