Struct aws_sdk_eventbridge::types::BatchParameters
source · #[non_exhaustive]pub struct BatchParameters { /* private fields */ }
Expand description
The custom parameters to be used when the target is an Batch job.
Implementations§
source§impl BatchParameters
impl BatchParameters
sourcepub fn job_definition(&self) -> Option<&str>
pub fn job_definition(&self) -> Option<&str>
The ARN or name of the job definition to use if the event target is an Batch job. This job definition must already exist.
sourcepub fn job_name(&self) -> Option<&str>
pub fn job_name(&self) -> Option<&str>
The name to use for this execution of the job, if the target is an Batch job.
sourcepub fn array_properties(&self) -> Option<&BatchArrayProperties>
pub fn array_properties(&self) -> 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.
sourcepub fn retry_strategy(&self) -> Option<&BatchRetryStrategy>
pub fn retry_strategy(&self) -> 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.
source§impl BatchParameters
impl BatchParameters
sourcepub fn builder() -> BatchParametersBuilder
pub fn builder() -> BatchParametersBuilder
Creates a new builder-style object to manufacture BatchParameters
.
Trait Implementations§
source§impl Clone for BatchParameters
impl Clone for BatchParameters
source§fn clone(&self) -> BatchParameters
fn clone(&self) -> BatchParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchParameters
impl Debug for BatchParameters
source§impl PartialEq<BatchParameters> for BatchParameters
impl PartialEq<BatchParameters> for BatchParameters
source§fn eq(&self, other: &BatchParameters) -> bool
fn eq(&self, other: &BatchParameters) -> bool
self
and other
values to be equal, and is used
by ==
.