Class: Aws::Batch::Types::AttemptContainerDetail
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::Batch::Types::AttemptContainerDetail
 
 
- 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
- 
  
    
      #container_instance_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.
 - 
  
    
      #exit_code  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The exit code for the job attempt.
 - 
  
    
      #log_stream_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the CloudWatch Logs log stream that’s associated with the container.
 - 
  
    
      #network_interfaces  ⇒ Array<Types::NetworkInterface> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The network interfaces that are associated with the job attempt.
 - 
  
    
      #reason  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
 - 
  
    
      #task_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The Amazon Resource Name (ARN) of the Amazon ECS task that’s associated with the job attempt.
 
Instance Attribute Details
#container_instance_arn ⇒ String
The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.
      112 113 114 115 116 117 118 119 120 121  | 
    
      # File '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_code ⇒ Integer
The exit code for the job attempt. A non-zero exit code is considered failed.
      112 113 114 115 116 117 118 119 120 121  | 
    
      # File '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_name ⇒ String
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.
      112 113 114 115 116 117 118 119 120 121  | 
    
      # File '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_interfaces ⇒ Array<Types::NetworkInterface>
The network interfaces that are associated with the job attempt.
      112 113 114 115 116 117 118 119 120 121  | 
    
      # File '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  | 
  
#reason ⇒ String
A short (255 max characters) human-readable string to provide additional details for a running or stopped container.
      112 113 114 115 116 117 118 119 120 121  | 
    
      # File '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_arn ⇒ String
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.
      112 113 114 115 116 117 118 119 120 121  | 
    
      # File '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  |