AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::RoboMaker::Types::BatchPolicy

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing BatchPolicy as input to an Aws::Client method, you can use a vanilla Hash:

{
  timeout_in_seconds: 1,
  max_concurrency: 1,
}

Information about the batch policy.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#max_concurrencyInteger

The number of active simulation jobs create as part of the batch that can be in an active state at the same time.

Active states include: Pending,Preparing, Running, Restarting, RunningFailed and Terminating. All other states are terminal states.

Returns:

  • (Integer)

    The number of active simulation jobs create as part of the batch that can be in an active state at the same time.

#timeout_in_secondsInteger

The amount of time, in seconds, to wait for the batch to complete.

If a batch times out, and there are pending requests that were failing due to an internal failure (like InternalServiceError), they will be moved to the failed list and the batch status will be Failed. If the pending requests were failing for any other reason, the failed pending requests will be moved to the failed list and the batch status will be TimedOut.

Returns:

  • (Integer)

    The amount of time, in seconds, to wait for the batch to complete.