You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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 representing the details of a container that is part of a job attempt.

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)


43
44
45
46
47
48
49
50
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 43

class AttemptContainerDetail < Struct.new(
  :container_instance_arn,
  :task_arn,
  :exit_code,
  :reason,
  :log_stream_name)
  include Aws::Structure
end

#exit_codeInteger

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

Returns:

  • (Integer)


43
44
45
46
47
48
49
50
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 43

class AttemptContainerDetail < Struct.new(
  :container_instance_arn,
  :task_arn,
  :exit_code,
  :reason,
  :log_stream_name)
  include Aws::Structure
end

#log_stream_nameString

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

Returns:

  • (String)


43
44
45
46
47
48
49
50
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 43

class AttemptContainerDetail < Struct.new(
  :container_instance_arn,
  :task_arn,
  :exit_code,
  :reason,
  :log_stream_name)
  include Aws::Structure
end

#reasonString

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

Returns:

  • (String)


43
44
45
46
47
48
49
50
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 43

class AttemptContainerDetail < Struct.new(
  :container_instance_arn,
  :task_arn,
  :exit_code,
  :reason,
  :log_stream_name)
  include Aws::Structure
end

#task_arnString

The Amazon Resource Name (ARN) of the Amazon ECS task that is associated with the job attempt.

Returns:

  • (String)


43
44
45
46
47
48
49
50
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 43

class AttemptContainerDetail < Struct.new(
  :container_instance_arn,
  :task_arn,
  :exit_code,
  :reason,
  :log_stream_name)
  include Aws::Structure
end