Class: Aws::Batch::Types::AttemptTaskContainerDetails

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

Overview

An object that represents the details of a container that’s part of a job attempt.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#exit_codeInteger

The exit code for the container’s attempt. A non-zero exit code is considered failed.

Returns:

  • (Integer)


218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-batch/types.rb', line 218

class AttemptTaskContainerDetails < Struct.new(
  :exit_code,
  :name,
  :reason,
  :log_stream_name,
  :network_interfaces)
  SENSITIVE = []
  include Aws::Structure
end

#log_stream_nameString

The name of the Amazon CloudWatch Logs log stream that’s associated with the container. The log group for Batch jobs is ‘/aws/batch/job`. Each container attempt receives a log stream name when they reach the `RUNNING` status.

Returns:

  • (String)


218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-batch/types.rb', line 218

class AttemptTaskContainerDetails < Struct.new(
  :exit_code,
  :name,
  :reason,
  :log_stream_name,
  :network_interfaces)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of a container.

Returns:

  • (String)


218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-batch/types.rb', line 218

class AttemptTaskContainerDetails < Struct.new(
  :exit_code,
  :name,
  :reason,
  :log_stream_name,
  :network_interfaces)
  SENSITIVE = []
  include Aws::Structure
end

#network_interfacesArray<Types::NetworkInterface>

The network interfaces that are associated with the job attempt.

Returns:



218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-batch/types.rb', line 218

class AttemptTaskContainerDetails < Struct.new(
  :exit_code,
  :name,
  :reason,
  :log_stream_name,
  :network_interfaces)
  SENSITIVE = []
  include Aws::Structure
end

#reasonString

A short (255 max characters) string that’s easy to understand and provides additional details for a running or stopped container.

Returns:

  • (String)


218
219
220
221
222
223
224
225
226
# File 'lib/aws-sdk-batch/types.rb', line 218

class AttemptTaskContainerDetails < Struct.new(
  :exit_code,
  :name,
  :reason,
  :log_stream_name,
  :network_interfaces)
  SENSITIVE = []
  include Aws::Structure
end