#[non_exhaustive]pub struct ExecuteCommandConfigurationBuilder { /* private fields */ }
Expand description
A builder for ExecuteCommandConfiguration
.
Implementations§
source§impl ExecuteCommandConfigurationBuilder
impl ExecuteCommandConfigurationBuilder
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
Specify an Key Management Service key ID to encrypt the data between the local client and the container.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
Specify an Key Management Service key ID to encrypt the data between the local client and the container.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
Specify an Key Management Service key ID to encrypt the data between the local client and the container.
sourcepub fn logging(self, input: ExecuteCommandLogging) -> Self
pub fn logging(self, input: ExecuteCommandLogging) -> Self
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 set_logging(self, input: Option<ExecuteCommandLogging>) -> Self
pub fn set_logging(self, input: Option<ExecuteCommandLogging>) -> Self
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 get_logging(&self) -> &Option<ExecuteCommandLogging>
pub fn get_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, input: ExecuteCommandLogConfiguration) -> Self
pub fn log_configuration(self, input: ExecuteCommandLogConfiguration) -> Self
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.
sourcepub fn set_log_configuration(
self,
input: Option<ExecuteCommandLogConfiguration>
) -> Self
pub fn set_log_configuration( self, input: Option<ExecuteCommandLogConfiguration> ) -> Self
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.
sourcepub fn get_log_configuration(&self) -> &Option<ExecuteCommandLogConfiguration>
pub fn get_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.
sourcepub fn build(self) -> ExecuteCommandConfiguration
pub fn build(self) -> ExecuteCommandConfiguration
Consumes the builder and constructs a ExecuteCommandConfiguration
.
Trait Implementations§
source§impl Clone for ExecuteCommandConfigurationBuilder
impl Clone for ExecuteCommandConfigurationBuilder
source§fn clone(&self) -> ExecuteCommandConfigurationBuilder
fn clone(&self) -> ExecuteCommandConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ExecuteCommandConfigurationBuilder
impl Default for ExecuteCommandConfigurationBuilder
source§fn default() -> ExecuteCommandConfigurationBuilder
fn default() -> ExecuteCommandConfigurationBuilder
source§impl PartialEq for ExecuteCommandConfigurationBuilder
impl PartialEq for ExecuteCommandConfigurationBuilder
source§fn eq(&self, other: &ExecuteCommandConfigurationBuilder) -> bool
fn eq(&self, other: &ExecuteCommandConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.