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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/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)


4795
4796
4797
4798
4799
4800
4801
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4795

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.



4795
4796
4797
4798
4799
4800
4801
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4795

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)


4795
4796
4797
4798
4799
4800
4801
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4795

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