Class: Aws::Batch::Types::AttemptContainerDetail

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

#container_instance_arnString

The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.

Returns:

  • (String)


112
113
114
115
116
117
118
119
120
121
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 112

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

#exit_codeInteger

The exit code for the job attempt. A non-zero exit code is considered failed.

Returns:

  • (Integer)


112
113
114
115
116
117
118
119
120
121
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 112

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

#log_stream_nameString

The name of the 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)


112
113
114
115
116
117
118
119
120
121
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 112

class AttemptContainerDetail < Struct.new(
  :container_instance_arn,
  :task_arn,
  :exit_code,
  :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:



112
113
114
115
116
117
118
119
120
121
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 112

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

#reasonString

A short (255 max characters) human-readable string to provide additional details for a running or stopped container.

Returns:

  • (String)


112
113
114
115
116
117
118
119
120
121
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 112

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

#task_arnString

The Amazon Resource Name (ARN) of the Amazon ECS task that's associated with the job attempt. Each container attempt receives a task ARN when they reach the STARTING status.

Returns:

  • (String)


112
113
114
115
116
117
118
119
120
121
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 112

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