Class: Aws::ECS::Types::ExecuteCommandConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

The details of the execute command configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#kms_key_idString

Specify an Key Management Service key ID to encrypt the data between the local client and the container.

Returns:

  • (String)


4747
4748
4749
4750
4751
4752
4753
# File 'lib/aws-sdk-ecs/types.rb', line 4747

class ExecuteCommandConfiguration < Struct.new(
  :kms_key_id,
  :logging,
  :log_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#log_configurationTypes::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.



4747
4748
4749
4750
4751
4752
4753
# File 'lib/aws-sdk-ecs/types.rb', line 4747

class ExecuteCommandConfiguration < Struct.new(
  :kms_key_id,
  :logging,
  :log_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#loggingString

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`: The `awslogs` configuration in the task definition is used. If no logging parameter is specified, it defaults to this value. If no `awslogs` log driver is configured in the task definition, the output won’t be logged.

  • ‘OVERRIDE`: Specify the logging details as a part of `logConfiguration`. If the `OVERRIDE` logging option is specified, the `logConfiguration` is required.

Returns:

  • (String)


4747
4748
4749
4750
4751
4752
4753
# File 'lib/aws-sdk-ecs/types.rb', line 4747

class ExecuteCommandConfiguration < Struct.new(
  :kms_key_id,
  :logging,
  :log_configuration)
  SENSITIVE = []
  include Aws::Structure
end