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)


4941
4942
4943
4944
4945
4946
4947
# File 'lib/aws-sdk-ecs/types.rb', line 4941

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.



4941
4942
4943
4944
4945
4946
4947
# File 'lib/aws-sdk-ecs/types.rb', line 4941

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)


4941
4942
4943
4944
4945
4946
4947
# File 'lib/aws-sdk-ecs/types.rb', line 4941

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