Struct aws_sdk_eventbridge::model::BatchParameters [−][src]
#[non_exhaustive]pub struct BatchParameters {
pub job_definition: Option<String>,
pub job_name: Option<String>,
pub array_properties: Option<BatchArrayProperties>,
pub retry_strategy: Option<BatchRetryStrategy>,
}
Expand description
The custom parameters to be used when the target is an Batch job.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.job_definition: Option<String>
The ARN or name of the job definition to use if the event target is an Batch job. This job definition must already exist.
job_name: Option<String>
The name to use for this execution of the job, if the target is an Batch job.
array_properties: Option<BatchArrayProperties>
The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an Batch job.
retry_strategy: Option<BatchRetryStrategy>
The retry strategy to use for failed jobs, if the target is an Batch job. The retry strategy is the number of times to retry the failed job execution. Valid values are 1–10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.
Implementations
The ARN or name of the job definition to use if the event target is an Batch job. This job definition must already exist.
The name to use for this execution of the job, if the target is an Batch job.
The array properties for the submitted job, such as the size of the array. The array size can be between 2 and 10,000. If you specify array properties for a job, it becomes an array job. This parameter is used only if the target is an Batch job.
The retry strategy to use for failed jobs, if the target is an Batch job. The retry strategy is the number of times to retry the failed job execution. Valid values are 1–10. When you specify a retry strategy here, it overrides the retry strategy defined in the job definition.
Creates a new builder-style object to manufacture BatchParameters
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BatchParameters
impl Send for BatchParameters
impl Sync for BatchParameters
impl Unpin for BatchParameters
impl UnwindSafe for BatchParameters
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more