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)


4984
4985
4986
4987
4988
4989
4990
# File 'lib/aws-sdk-ecs/types.rb', line 4984

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.



4984
4985
4986
4987
4988
4989
4990
# File 'lib/aws-sdk-ecs/types.rb', line 4984

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)


4984
4985
4986
4987
4988
4989
4990
# File 'lib/aws-sdk-ecs/types.rb', line 4984

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