Class: Aws::Batch::Types::AttemptTaskContainerDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::AttemptTaskContainerDetails
- 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
-
#exit_code ⇒ Integer
The exit code for the container’s attempt.
-
#log_stream_name ⇒ String
The name of the Amazon CloudWatch Logs log stream that’s associated with the container.
-
#name ⇒ String
The name of a container.
-
#network_interfaces ⇒ Array<Types::NetworkInterface>
The network interfaces that are associated with the job attempt.
-
#reason ⇒ String
A short (255 max characters) string that’s easy to understand and provides additional details for a running or stopped container.
Instance Attribute Details
#exit_code ⇒ Integer
The exit code for the container’s attempt. A non-zero exit code is considered failed.
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_name ⇒ String
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.
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 |
#name ⇒ String
The name of a container.
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_interfaces ⇒ Array<Types::NetworkInterface>
The network interfaces that are associated with the job attempt.
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 |
#reason ⇒ String
A short (255 max characters) string that’s easy to understand and provides additional details for a running or stopped container.
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 |